Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Restrict the list of parent pages › Reply To: Restrict the list of parent pages
02/10/2020 at 11:40 #7055
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.