block_editor_settings_all

block_editor_settings_all

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('block_editor_settings_all') is found 1 times:

  • /wp-includes/block-editor.php line 662
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    *
     * @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.

See this hook used in plugins: