Advertisement
wclovers

Untitled

Feb 3rd, 2022
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.12 KB | None | 0 0
  1. add_filter( 'wcfm_allwoed_user_roles', function( $roles ) {
  2.     $roles[] = 'your-custom-user-role';
  3.     return $roles;
  4. } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement