Hey, instead of adding the code to 'init' action you can use 'admin_menu' with priority 0. Adding to 'init' means that the code will be called also for not logged in WP users
e.g.
$this->loader->add_action('admin_menu', $plugin_admin, 'create_menu',0);
Hi :)
You are absolutely right. But you mean the Plugin Boilerplate Tutorial not the Simple Options Framework,. right?
Can you please create a pull request?
Joe
Hey, instead of adding the code to 'init' action you can use 'admin_menu' with priority 0. Adding to 'init' means that the code will be called also for not logged in WP users e.g. $this->loader->add_action('admin_menu', $plugin_admin, 'create_menu',0);