Advertisement

has_block

Determine whether a $post or a string contains a specific block type.

has_blocks

Determine whether a post or content string has blocks.

Advertisement

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.

Advertisement

get_block_categories

Returns all the block categories that will be shown in the block editor.

Advertisement