Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Unwanted dashboard redirect when 'settings-updated' is present › Reply To: Unwanted dashboard redirect when 'settings-updated' is present
02/05/2017 at 10:52
#3656
Participant
Hi,
Holidays aren’t in WooCommerce core so it is a custom option page: /wp-admin/admin.php?page=oxfam-options. This page can be reached by people with the local_manager capability (as defined in the add_menu_page() function) but /wp-admin/admin.php?page=oxfam-options&settings-updated=true is redirected to the dashboard.
F.