You appear to be a bot. Output may be restricted
Description
Set up a list of allowed block editor extensions
Usage
$void = Jetpack_Gutenberg::init();
Parameters
Returns
void
Source
File name: jetpack/class.jetpack-gutenberg.php
Lines:
1 to 58 of 58
public static function init() { if ( ! self::should_load() ) { return; } /** * Alternative to `JETPACK_BETA_BLOCKS`, set to `true` to load Beta Blocks. * * @since 6.9.0 * * @param boolean */ if ( apply_filters( 'jetpack_load_beta_blocks', false ) ) { Constants::set_constant( 'JETPACK_BETA_BLOCKS', true ); } /** * Alternative to `JETPACK_EXPERIMENTAL_BLOCKS`, set to `true` to load Experimental Blocks. * * @since 8.4.0 * * @param boolean */ if ( apply_filters( 'jetpack_load_experimental_blocks', false ) ) { Constants::set_constant( 'JETPACK_EXPERIMENTAL_BLOCKS', true ); } /** * Filter the list of block editor extensions that are available through Jetpack. * * @since 7.0.0 * * @param array */ self::$extensions = apply_filters( 'jetpack_set_available_extensions', self::get_available_extensions() ); /** * Filter the list of block editor plugins that are available through Jetpack. * * @deprecated 7.0.0 Use jetpack_set_available_extensions instead * * @since 6.8.0 * * @param array */ self::$extensions = apply_filters( 'jetpack_set_available_blocks', self::$extensions ); /** * Filter the list of block editor plugins that are available through Jetpack. * * @deprecated 7.0.0 Use jetpack_set_available_extensions instead * * @since 6.9.0 * * @param array */ self::$extensions = apply_filters( 'jetpack_set_available_plugins', self::$extensions ); }