updated plgntls :
- renamed PLGNTLS_class -> Plgntls - changed method 'add_to_front()' to static method - moved fetch script as inline script, so the plgntls file is single - improved the way inline script and styles are added
This commit is contained in:
@@ -18,10 +18,10 @@ if (!defined('ABSPATH')) {
|
||||
*
|
||||
*/
|
||||
function add_fields_register_CIPF($args) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
$role_partner = PLGNTLS_class::ROLE_PARTNER;
|
||||
$slug_partner_registration = PLGNTLS_class::SLUG_PARTNER_REGISTRATION;
|
||||
$input_hidden_role = PLGNTLS_class::INPUT_HIDDEN_ROLE;
|
||||
Plgntls::debug_infos();
|
||||
$role_partner = Plgntls::ROLE_PARTNER;
|
||||
$slug_partner_registration = Plgntls::SLUG_PARTNER_REGISTRATION;
|
||||
$input_hidden_role = Plgntls::INPUT_HIDDEN_ROLE;
|
||||
|
||||
/*
|
||||
* compare current slug to partner-register slug
|
||||
@@ -46,9 +46,9 @@ add_action('xoo_el_register_add_fields', 'add_fields_register_CIPF');
|
||||
*
|
||||
*/
|
||||
function add_role_partners_CIPF($customer_data){
|
||||
PLGNTLS_class::debug_infos();
|
||||
$role_partner = PLGNTLS_class::ROLE_PARTNER;
|
||||
$input_hidden_role = PLGNTLS_class::INPUT_HIDDEN_ROLE;
|
||||
Plgntls::debug_infos();
|
||||
$role_partner = Plgntls::ROLE_PARTNER;
|
||||
$input_hidden_role = Plgntls::INPUT_HIDDEN_ROLE;
|
||||
|
||||
/*
|
||||
* check query of form submit
|
||||
|
||||
Reference in New Issue
Block a user