Created
May 22, 2020 12:46
-
-
Save plugin-republic/5c5653f4ee77a26866e4353b2e7b032f to your computer and use it in GitHub Desktop.
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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment