public function add_plugin_page() { if (is_multisite()) { add_submenu_page('settings.php', esc_html__('GitHub Updater Settings', 'github-updater'), esc_html__('GitHub Updater', 'github-updater'), 'manage_network', 'github-updater', array(&$this, 'create_admin_page')); } else { add_options_page(esc_html__('GitHub Updater Settings', 'github-updater'), esc_html__('GitHub Updater', 'github-updater'), 'manage_options', 'github-updater', array(&$this, 'create_admin_page')); } }