jetpack_block_editor_feature_flags
jetpack_block_editor_feature_flags
Appears in: jetpack.14.8, jetpack.14.9.1, jetpack.15.0, jetpack.15.1, jetpack.15.1.1, jetpack.15.2, jetpack.15.3.1, jetpack.15.4
Hook Type: filter
See hook in action
Displaying hooks found in version: jetpack.15.4apply_filters('jetpack_block_editor_feature_flags') is found 2 times:
- /class.jetpack-gutenberg.php line 823
* @since 14.8 * * @param array true Enable the RePublicize UI in the block editor context. Defaults to true. */ 'feature_flags' => apply_filters( 'jetpack_block_editor_feature_flags', array() ), 'pluginBasePath' => plugins_url( '', Constants::get_constant( 'JETPACK__PLUGIN_FILE' ) ), ); wp_localize_script( 'jetpack-blocks-editor', 'Jetpack_Editor_Initial_State',
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php line 383
* @return bool */ public static function has_editor_feature_flag( $flag ) { /** This filter is documented in jetpack/class.jetpack-gutenberg.php. */ $feature_flags = apply_filters( 'jetpack_block_editor_feature_flags', array() ); return ! empty( $feature_flags[ $flag ] ); } /** * Remove feedback post type from the allowed post types for related posts. *