Warning: This hook has been deprecated. Use the ‘block_editor_settings_all’ filter instead.
apply_filters_deprecated( 'block_editor_settings', array $editor_settings , WP_Post $post )
Filters the settings to pass to the block editor.
Parameters
-
$editor_settings
array -
Default editor settings.
-
$post
WP_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' );
Changelog
Version | Description |
---|---|
5.8.0 | Use the 'block_editor_settings_all' filter instead. |
5.0.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 1You must log in to vote on the helpfulness of this note -
Skip to note 2 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note