- updated all occurences of Plgntls:: constantes for Cipf:: const

- update menu to use the new methods
This commit is contained in:
asus
2024-04-02 15:45:54 +02:00
parent 64dc0ffbc5
commit 1f5fff26d6
25 changed files with 404 additions and 549 deletions

View File

@@ -15,7 +15,7 @@ if (!defined('ABSPATH')) {
*/
function is_own_partner() {
Plgntls::debug_infos(2);
$role_partner = Plgntls::ROLE_PARTNER;
$role_partner = Cipf::ROLE_PARTNER;
if (!is_single()) {
return false;
@@ -88,7 +88,7 @@ add_action('wp_enqueue_scripts', 'partner_page_scripts_CIPF', 11);
*/
function toggle_partner_page_CIPF() {
Plgntls::debug_infos();
$toggle_partner_page = Plgntls::QUERY_TOGGLE_PARTNER_PAGE;
$toggle_partner_page = Cipf::QUERY_TOGGLE_PARTNER_PAGE;
/*
* check if :