From 47496ed5c49ff61acc5a62bc7de17fb85df3d90e Mon Sep 17 00:00:00 2001 From: atsaruk Date: Thu, 22 Feb 2024 12:57:01 +0100 Subject: [PATCH] LAW-7564 --- htdocs/wp-content/themes/lawcarta/functions.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/htdocs/wp-content/themes/lawcarta/functions.php index 53ef50d..d083905 100644 --- a/htdocs/wp-content/themes/lawcarta/functions.php +++ b/htdocs/wp-content/themes/lawcarta/functions.php @@ -94,12 +94,6 @@ add_filter('wp_setup_nav_menu_item', function ($menu_item) return $menu_item; }); -add_action('init','add_lctc_val'); -function add_lctc_val() { - global $wp; - $wp->add_query_var('lctc'); -} - function get_canonocal_url() { $uri = explode('?', $_SERVER['REQUEST_URI']); if (isset($uri[1])) {