block_editor_settings_all, $editor_settings, $block_editor_context

block_editor_settings_all, $editor_settings, $block_editor_context

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('block_editor_settings_all, $editor_settings, $block_editor_context') is found 1 times:

  • /wp-includes/block-editor.php line 645
    	 *
    	 * @param array                   $editor_settings      Default editor settings.
    	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
    	 */
    	$editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context );
    
    	if ( ! empty( $block_editor_context->post ) ) {
    		$post = $block_editor_context->post;
    
    		/**
    		 * Filters the settings to pass to the block editor.