jetpack_block_editor_feature_flags

jetpack_block_editor_feature_flags

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.15.4

apply_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.
    	 *
    

See this hook used in plugins: