- 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

@@ -19,9 +19,9 @@ if (!defined('ABSPATH')) {
*/
function add_fields_register_CIPF($args) {
Plgntls::debug_infos();
$role_partner = Plgntls::ROLE_PARTNER;
$slug_partner_registration = Plgntls::SLUG_PARTNER_REGISTRATION;
$input_hidden_role = Plgntls::INPUT_HIDDEN_ROLE;
$role_partner = Cipf::ROLE_PARTNER;
$slug_partner_registration = Cipf::SLUG_PARTNER_REGISTRATION;
$input_hidden_role = Cipf::INPUT_HIDDEN_ROLE;
/*
* compare current slug to partner-register slug
@@ -47,8 +47,8 @@ add_action('xoo_el_register_add_fields', 'add_fields_register_CIPF');
*/
function add_role_partners_CIPF($customer_data){
Plgntls::debug_infos();
$role_partner = Plgntls::ROLE_PARTNER;
$input_hidden_role = Plgntls::INPUT_HIDDEN_ROLE;
$role_partner = Cipf::ROLE_PARTNER;
$input_hidden_role = Cipf::INPUT_HIDDEN_ROLE;
/*
* check query of form submit