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