How to change role in WPCargo Front-end Manager Dashboard Registration

Here’s how to change the role of the registered user in WPCargo Front-end Manager Dashboard registration form.

function custom_registration_roles_callback( $role ) {
 
$role = 'contributor'; // use the  role slug 
 
return $role;
 
}
 
add_filter('wpcfe_register_role', 'custom_registration_roles_callback', 1);
0
    0
    Your Cart
    Your cart is emptyReturn to Shop