restrict add new setting page to administrators

Support MB Settings Page restrict add new setting page to administratorsResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43552
    luigi gaudinoluigi gaudino
    Participant

    Hello curently editors can create new setting pages, i would like to restrict add new setting page only to administrators. There is some simple code or setting to do that?

    #43555
    PeterPeter
    Moderator

    Hello,

    curently editors can create new setting pages

    I do not see that on my demo site. Only the administrator can access the Meta Box builder (mb post types) to create a settings page. Do you use a custom code or a third-party plugin that changes the capabilities of the editor role?

    #43556
    luigi gaudinoluigi gaudino
    Participant

    Sincerely neither of the 2(no custom code on permissions and i not use plugins anymore, apart query monitor). Anyway i resolved using filter register_post_type_args

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.