wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp-includes/block-editor.php › WordPress File
Funktionen12
› Block Editor API.
Funktion | Kurzbeschreibung |
---|---|
block_editor_rest_api_preload | 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. |
get_allowed_block_types | Gets the list of allowed block types to use in the block editor. |
get_block_categories | Returns all the categories for block types that will be shown in the block editor. |
get_block_editor_settings | Returns the contextualized block editor settings for a selected editor context. |
get_block_editor_theme_styles | Creates an array of theme styles to load into the block editor. |
get_classic_theme_supports_block_editor_settings | Returns the classic theme supports settings for block editor. |
get_default_block_categories | Returns the list of default categories for block types. |
get_default_block_editor_settings | Returns the default block editor settings. |
get_legacy_widget_block_editor_settings | Returns the block editor settings needed to use the Legacy Widget block which is not registered by default. |
wp_get_first_block | Finds the first occurrence of a specific block in an array of blocks. |
wp_get_post_content_block_attributes | Retrieves Post Content block attributes from the current post template. |
_wp_get_iframed_editor_assets | Collect the block editor assets that need to be loaded into the editor's iframe. |