forked from LiveCarta/LiveCartaWP
LAW-3451
This commit is contained in:
@@ -223,4 +223,15 @@ function get_lawcarta_url(){
|
||||
}
|
||||
|
||||
return "$scheme$host$port";
|
||||
}
|
||||
|
||||
function get_lawcarta_ga_config(){
|
||||
|
||||
$res = '';
|
||||
if(wp_get_theme() == 'LawCarta'){
|
||||
$res = LAWCARTA_GA_CONFIG;
|
||||
}elseif(wp_get_theme() == 'LiveCarta'){
|
||||
$res = LIVECARTA_GA_CONFIG;
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
Reference in New Issue
Block a user