get_block_editor_settings
get_block_editor_settings ( $custom_settings, $block_editor_context )
Parameters:- (array) custom_settings Custom settings to use with the given editor type.
- (WP_Block_Editor_Context) block_editor_context The current block editor context.
Returns:- (array) The contextualized block editor settings.
Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Returns the contextualized block editor settings for a selected editor context.