• Resolved wilsmithwp

    (@wilsmithwp)


    Great plugin! Thanks!
    Can i hide the metabox in the classic editor?
    I have a multi members site and want to give users as less options as possible.
    Thanx in advance.
    Wil

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fahid Javid

    (@fahidjavid)

    Hi!

    Thanks for your good words about this plugin.

    That can be managed based on the roles of the WordPress users but with a custom solution. If you are interested then get in touch with me directly via my email fahidjavid[at]gmail[dot]com

    Kind regards,

    Fahid

    Thread Starter wilsmithwp

    (@wilsmithwp)

    Alright, i think i found it but i am having a hard time finding the name of the metabox. Under here you will find my code. What am I doing wrong? I tried admin_menu and admin_head, but i think i have the wrong metaboxname?

    add_action( ‘admin_menu’ , ‘wpdocs_remove_post_custom_fields’ );

    function wpdocs_remove_post_custom_fields() {
    remove_meta_box( ‘stars-rating.postbox’ , ‘post’ , ‘normal’ );
    }

    add_action( ‘admin_head’ , ‘wpdocs_remove_post_custom_fields2’ );

    function wpdocs_remove_post_custom_fields2() {
    remove_meta_box( ‘stars-rating.postbox’ , ‘post’ , ‘normal’ );
    }`

    Thread Starter wilsmithwp

    (@wilsmithwp)

    I found it.
    Problem solved.

    Plugin Author Fahid Javid

    (@fahidjavid)

    Happy to know ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide metabox in editor’ is closed to new replies.