You can replace the label ‘Role’ in the registration form using this snippet:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Change the label for the 'Role' field in the registration form | |
*/ | |
function prefix_registration_form_role_label( $label ) { | |
return 'Your label here'; | |
} | |
add_filter( 'wcmo_registration_form_role_label', 'prefix_registration_form_role_label' ); |
Here’s how to add a snippet.