Determine whether a $post or a string contains a specific block type.
get_dynamic_block_names
Returns an array of the names of all registered dynamic block types.
has_blocks
Determine whether a post or content string has blocks.
unregister_block_type
Unregisters a block type.
Advertisement
register_block_type
Registers a block type.
_get_plugin_from_callback
Internal helper function to find the plugin from a meta box callback.
do_block_editor_incompatible_meta_box
Function that renders a “fake” meta box with an information message, shown on the block editor, when an incompatible meta box is found.
the_block_editor_meta_box_post_form_hidden_fields
Renders the hidden form required for the meta boxes form.
Advertisement
the_block_editor_meta_boxes
Renders the meta boxes forms.
get_block_editor_server_block_settings
Prepares server-registered blocks for the block editor.
get_block_categories
Returns all the block categories that will be shown in the block editor.
use_block_editor_for_post_type
Return whether a post type is compatible with the block editor.
Advertisement
use_block_editor_for_post
Return whether the post can be edited in the block editor.
wp_refresh_heartbeat_nonces
Add the latest Heartbeat and REST-API nonce to the Heartbeat response.
register_and_do_post_meta_boxes
Registers the default post meta boxes, and runs the `do_meta_boxes` actions.