- updated all occurences of Plgntls:: constantes for Cipf:: const
- update menu to use the new methods
This commit is contained in:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user