WordPress Developer Resources
Finds the first occurrence of a specific block in an array of blocks.
Retrieves Post Content block attributes from the current post template.
Returns the classic theme supports settings for block editor.
Collect the block editor assets that need to be loaded into the editor’s iframe.
Filters the list of widget-type IDs that should **not** be offered by the Legacy Widget block.
Returns the contextualized block editor settings for a selected editor context.
Filters the settings to pass to the block editor for all editor type.
Preloads common data used with the block editor by specifying an array of REST API paths that will be preloaded for a given block editor context.
Filters the array of REST API paths that will be used to preloaded common data for the block editor.
Creates an array of theme styles to load into the block editor.
Returns the block editor settings needed to use the Legacy Widget block which is not registered by default.
Returns the list of default categories for block types.
Filters the default array of categories for block types.
Gets the list of allowed block types to use in the block editor.
Filters the allowed block types for all editor types.
Returns the default block editor settings.
Filters the array of paths that will be preloaded.
Filters the allowed block types for the editor.
Filters the settings to pass to the block editor.
Returns all the categories for block types that will be shown in the block editor.