block_version()

Function: Returns the current version of the block format that the content string is using.

Source: wp-includes/blocks.php:1131

Used by 2 functions | Uses 1 function

register_block_type()

Function: Registers a block type. The recommended way is to register a block type using the metadata stored in the `block.json` file.

Source: wp-includes/blocks.php:531

Used by 0 functions | Uses 2 functions

has_block()

Function: Determines whether a $post or a string contains a specific block type.

Source: wp-includes/blocks.php:597

Used by 2 functions | Uses 3 functions