Filters the settings to pass to the block editor.
Parameters
$editor_settingsarray- Default editor settings.
$postWP_Post- Post being edited.
Source
$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Use the 'block_editor_settings_all' filter instead. |
| 5.0.0 | Introduced. |
User Contributed Notes