Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7053
    sciasbt
    Participant

    Hi,

    I saw how you explained in this:https://www.role-editor.com/restrict-the-list-of-parent-pages/
    For this:
    // list of pages to include into the parent pages dropdown menu. Do not use with ‘exclude’ together.
    $args[‘include’] = array(2, 763);

    Do i insert the parent page’s ID inside the array? Removing “2,763”?

    Another thing, can we restrict users to only edit specific parent & its child pages? I.E.: Only specific pages are shown in the Pages.

    #7055
    Vladimir
    Keymaster

    Yes,
    just replace array elements with your own data. If you have pages with ID: 3, 15, 7, then code line will be:

    
    $args[‘include’] = array(3, 15, 7);
    

    Yes, input parent page(s) ID to the correspondent input field at user profile or for a role. URE Pro will extract and add to restrictions all linked child pages ID automatically.

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