This commit is contained in:
g
2020-06-26 13:25:44 +03:00
parent 489cf6996a
commit 0449267b40
3 changed files with 26 additions and 1 deletions

View File

@@ -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;
}