public function add_plugin_page() {
		$parent     = is_multisite() ? 'settings.php' : 'options-general.php';
		$capability = is_multisite() ? 'manage_network' : 'manage_options';

		add_submenu_page(
			$parent,
			esc_html__( 'GitHub Updater Settings', 'github-updater' ),
			esc_html__( 'GitHub Updater', 'github-updater' ),
			$capability,
			'github-updater',
			[ $this, 'create_admin_page' ]
		);
	}
public function add_plugin_page() {
		$parent     = is_multisite() ? 'settings.php' : 'options-general.php';
		$capability = is_multisite() ? 'manage_network' : 'manage_options';

		add_submenu_page(
			$parent,
			esc_html__( 'GitHub Updater Settings', 'github-updater' ),
			esc_html__( 'GitHub Updater', 'github-updater' ),
			$capability,
			'github-updater',
			[ $this, 'create_admin_page' ]
		);
	}
public function add_plugin_page ( ) { $ parent = is_multisite ( ) ? 'settings.php' : 'options-general.php' ; $ capability = is_multisite ( ) ? 'manage_network' : 'manage_options' ; add_submenu_page ( $ parent , esc_html__ ( 'GitHub Updater Settings' , 'github-updater' ) , esc_html__ ( 'GitHub Updater' , 'github-updater' ) , $ capability , 'github-updater' , [ $ this , 'create_admin_page' ] ) ; }
Add options page.
Add options page .