public function load() {
		if ( ! apply_filters( 'github_updater_hide_settings', false ) ) {
			Singleton::get_instance( 'Settings', $this )->run();
		}
		if ( ! Singleton::get_instance( 'Init', $this )->can_update() ) {
			return false;
		}

		// Run GitHub Updater upgrade functions.
		$upgrade = new GHU_Upgrade();
		$upgrade->run();

		// Load plugin stylesheet.
		add_action(
			'admin_enqueue_scripts',
			function () {
				wp_register_style( 'github-updater', plugins_url( basename( GITHUB_UPDATER_DIR ) ) . '/css/github-updater.css' );
				wp_enqueue_style( 'github-updater' );
			}
		);

		if ( isset( $_POST['ghu_refresh_cache'] ) ) {
			/**
			 * Fires later in cycle when Refreshing Cache.
			 *
			 * @since 6.0.0
			 */
			do_action( 'ghu_refresh_transients' );
		}

		$this->get_meta_plugins();
		$this->get_meta_themes();

		return true;
	}
public function load() {
		if ( ! apply_filters( 'github_updater_hide_settings', false ) ) {
			Singleton::get_instance( 'Settings', $this )->run();
		}
		if ( ! Singleton::get_instance( 'Init', $this )->can_update() ) {
			return false;
		}

		// Run GitHub Updater upgrade functions.
		$upgrade = new GHU_Upgrade();
		$upgrade->run();

		// Load plugin stylesheet.
		add_action(
			'admin_enqueue_scripts',
			function () {
				wp_register_style( 'github-updater', plugins_url( basename( GITHUB_UPDATER_DIR ) ) . '/css/github-updater.css' );
				wp_enqueue_style( 'github-updater' );
			}
		);

		if ( isset( $_POST['ghu_refresh_cache'] ) ) {
			/**
			 * Fires later in cycle when Refreshing Cache.
			 *
			 * @since 6.0.0
			 */
			do_action( 'ghu_refresh_transients' );
		}

		$this->get_meta_plugins();
		$this->get_meta_themes();

		return true;
	}
public function load ( ) { if ( ! apply_filters ( 'github_updater_hide_settings' , false ) ) { Singleton :: get_instance ( 'Settings' , $ this ) -> run ( ) ; } if ( ! Singleton :: get_instance ( 'Init' , $ this ) -> can_update ( ) ) { return false ; } // Run GitHub Updater upgrade functions. $ upgrade = new GHU_Upgrade ( ) ; $ upgrade -> run ( ) ; // Load plugin stylesheet. add_action ( 'admin_enqueue_scripts' , function ( ) { wp_register_style ( 'github-updater' , plugins_url ( basename ( GITHUB_UPDATER_DIR ) ) . '/css/github-updater.css' ) ; wp_enqueue_style ( 'github-updater' ) ; } ) ; if ( isset ( $ _POST [ 'ghu_refresh_cache' ] ) ) { /**
			 * Fires later in cycle when Refreshing Cache.
			 *
			 * @since 6.0.0
			 */ do_action ( 'ghu_refresh_transients' ) ; } $ this -> get_meta_plugins ( ) ; $ this -> get_meta_themes ( ) ; return true ; }
Load Plugin, Theme, and Settings with correct capabiltiies and on selective admin pages.

@return bool
Load Plugin Theme and Settings with correct capabiltiies and on selective admin pages .