public function apiInit() {
		try {
			if ( ! is_plugin_active( 'h5p/h5p.php' ) ) {
				\H5P_Plugin::get_instance()->rest_api_init();
			}
			if ( get_option( 'blog_public' ) ) {
				add_filter( 'h5p_rest_api_all_permission', '__return_true' );
			}
		} catch ( \Throwable $e ) {
			return false;
		}
		return true;
	}
public function apiInit() {
		try {
			if ( ! is_plugin_active( 'h5p/h5p.php' ) ) {
				\H5P_Plugin::get_instance()->rest_api_init();
			}
			if ( get_option( 'blog_public' ) ) {
				add_filter( 'h5p_rest_api_all_permission', '__return_true' );
			}
		} catch ( \Throwable $e ) {
			return false;
		}
		return true;
	}
public function apiInit ( ) { try { if ( ! is_plugin_active ( 'h5p/h5p.php' ) ) { \ H5P_Plugin :: get_instance ( ) -> rest_api_init ( ) ; } if ( get_option ( 'blog_public' ) ) { add_filter ( 'h5p_rest_api_all_permission' , '__return_true' ) ; } } catch ( \ Throwable $ e ) { return false ; } return true ; }
Defines REST API callbacks

@return bool
Defines REST API callbacks