Filters the settings to pass to the block editor.
$editor_settingsarray$postWP_Postwp-includes/block-editor.php:659get_block_editor_settings() * @since 5.0.0 * @deprecated 5.8.0 Use the {@see 'block_editor_settings_all'} filter instead. * * @param array $editor_settings Default editor settings. * @param WP_Post $post Post being edited. */ $editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' ); } $editor_settings['canEditCSS'] = current_user_can( 'edit_css' ); return $editor_settings;}Introduced in 5.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.