Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'wcfm_allwoed_user_roles', function( $roles ) {
- $roles[] = 'your-custom-user-role';
- return $roles;
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement