WordPress at Your Fingertips
filter is not described

block_editor_settings filter-hook . WP 5.0.0

Deprecated from version 5.8.0. It is no longer supported and can be removed in future releases. See block_editor_settings_all.

Deprecated: 5.8.0 Use the {@see 'block_editor_settings_all'} filter instead.

Filters the settings to pass to the block editor.


add_filter( 'block_editor_settings', 'filter_function_name_2388', 10, 3 );
function filter_function_name_2388( $editor_settings, $post, $string ){
	// filter...

	return $editor_settings;
Default editor settings.
Post being edited.


Since 5.0.0 Introduced.
Deprecated Since 5.8.0 Use the {@see 'block_editor_settings_all'} filter instead.

Where the hook is called

wp-includes/block-editor.php 383
$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );

Where in WP core the hook is used WordPress

Usage not found.