CMS Mastering Development Wordpress

Enable a role named ‘backend_user’ to access my plugin pages

I am new to plugin development and I am fairly okay with development by following all the plugin development best practices set by WordPress Codex. Following code describes on how Role: Administrator of WordPress gains access to the plugin. Administrator access to plugin in settings: SettingsApi.php public function register() { if ( ! empty($this->admin_pages) || […]