Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'wcfm_is_allow_withdrawal_requets', function( $allow ) {
- if( is_user_logged_in() && current_user_can( 'shop_manager' )) $allow = false;
- return $allow;
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement