function my_new_customer_data( $new_customer_data ){
$new_customer_data['role'] = 'candidate';
return $new_customer_data;
}
add_filter( 'woocommerce_new_customer_data', 'my_new_customer_data');
Copyright © 2025 by WP CODE SNIPPETS
Join our mailing list to receive the latest news and updates from our team.