On this page
apply_filters_deprecated( 'block_editor_settings', array $editor_settings, WP_Post $post )
This hook has been deprecated. Use the ‘block_editor_settings_all’ filter instead.
Filters the settings to pass to the block editor.
Parameters
$editor_settingsarray-
Default editor settings.
$postWP_Post-
Post being edited.
Source
File: wp-includes/block-editor.php. View all references
$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );
Related
Used By
| Used By | Description |
|---|---|
| get_block_editor_settings() wp-includes/block-editor.php | Returns the contextualized block editor settings for a selected editor context. |
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Use the 'block_editor_settings_all' filter instead. |
| 5.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_editor_settings