plugin ceation – tabs in settings page not working
-
I’m working on new plugin and created a admin menu with settings sub menu page.
The settings page has a couple of tabs [base options][report options]When i render the settings page initialy, no matter to which tab I default to, every thing works fine. But when when I want to switch to the other tab I get Sorry, you are not allowed to access this page. I am the admin on the site, I’m working localhost.
The base for the plugin is the WordPress Boilerplate.
it seems when the url changes it does no longer recognize my permissions. At least that is what it looks like to me.
The url that works looks as follows: http://localhost/multisite/site-one/wp-admin/admin.php?page=onsite-settings
The url that is not working is: http://localhost/multisite/site-one/wp-admin/admin.php?page=onsite_settings&tab=report_options_tab
- The topic ‘plugin ceation – tabs in settings page not working’ is closed to new replies.