• Hi Ron. I am using the remove_meta_box() function to try to disable the meta box for certain roles and have not had success with what I’ve tried. I have even set the priority of the hook to be much lower. Any suggestions? Thanks in advance!

    remove_meta_box('gsm-post-metabox', 'post', 'side');

    https://ww.wp.xz.cn/plugins/genesis-simple-menus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ron Rennick

    (@wpmuguru)

    You are probably removing it before it’s been added.

    Thread Starter Ren Ventura

    (@engagewp)

    Hey Ron. I added 9999 as a priority for the action so I don’t think that’s the issue.

    Plugin Contributor Ron Rennick

    (@wpmuguru)

    I added 9999 as a priority for the action so I don’t think that’s the issue.

    The hook you are using is probably fired before the one where GSM adds them. Changing the priority won’t help you. You need to hook into a later hook.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Meta Box ID’ is closed to new replies.