public function gitHubUpdater() {
		static $updater = null;
		if ( $updater === null ) {
			$updater = \Puc_v4_Factory::buildUpdateChecker(
				'https://github.com/pressbooks/pressbooks/',
				untrailingslashit( PB_PLUGIN_DIR ) . '/pressbooks.php', // Fully qualified path to the main plugin file
				'pressbooks',
				24
			);
			$updater->setBranch( 'master' );
			$updater->getVcsApi()->enableReleaseAssets();
		}
	}
public function gitHubUpdater() {
		static $updater = null;
		if ( $updater === null ) {
			$updater = \Puc_v4_Factory::buildUpdateChecker(
				'https://github.com/pressbooks/pressbooks/',
				untrailingslashit( PB_PLUGIN_DIR ) . '/pressbooks.php', // Fully qualified path to the main plugin file
				'pressbooks',
				24
			);
			$updater->setBranch( 'master' );
			$updater->getVcsApi()->enableReleaseAssets();
		}
	}
public function gitHubUpdater ( ) { static $ updater = null ; if ( $ updater === null ) { $ updater = \ Puc_v4_Factory :: buildUpdateChecker ( 'https://github.com/pressbooks/pressbooks/' , untrailingslashit ( PB_PLUGIN_DIR ) . '/pressbooks.php' , // Fully qualified path to the main plugin file 'pressbooks' , 24 ) ; $ updater -> setBranch ( 'master' ) ; $ updater -> getVcsApi ( ) -> enableReleaseAssets ( ) ; } }
GitHub Plugin Update Checker
Hooked into action `plugins_loaded`

@see https://github.com/YahnisElsts/plugin-update-checker
GitHub Plugin Update Checker Hooked into action plugins_loaded