wip filter email registration
This commit is contained in:
@@ -57,7 +57,7 @@ function add_role_partners_CIPF($customer_data){
|
||||
*
|
||||
*/
|
||||
if (!isset($_POST[$input_hidden_role])) {
|
||||
return;
|
||||
return $customer_data;
|
||||
}
|
||||
if ($_POST[$input_hidden_role] === $role_partner) {
|
||||
$customer_data['role'] = $role_partner;
|
||||
@@ -68,4 +68,5 @@ add_filter('xoo_el_register_new_customer_data', 'add_role_partners_CIPF', 10, 1)
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user