Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //this piece of code is to put in the functions.php file in your theme
- add_filter('wcse_user_role', 'export_custom_user_role');
- function export_custom_user_role($role)
- {
- //change to the role you want
- return 'subscriber';
- }
Add Comment
Please, Sign In to add comment