• Resolved patowins


    How to prevent non-admin users from seeing the Content Restriction option when creating a new post?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aswin Giri


    Hello @patowins

    You can try this code snippet:

    add_action( 'admin_head', function(){
    if(! current_user_can('administrator')){
            remove_meta_box( 'um-admin-restrict-content', 'post','normal');
    } );
    Plugin Support andrewshu


    Hi @patowins

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content Restriction option’ is closed to new replies.