143 results found for "metadata". Showing results 91 to 120.

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:601

Used by 0 functions | Uses 2 functions

register_block_style_handle()

Function: Finds a style handle for the block metadata field. It detects when a path to file was provided and registers the style under automatically generated handle name. It returns unprocessed style handle otherwise.

Source: wp-includes/blocks.php:223

Used by 1 function | Uses 9 functions

register_block_script_handle()

Function: Finds a script handle for the selected block metadata field. It detects when a path to file was provided and finds a corresponding asset file with details necessary to register the script under automatically generated handle name. It returns unprocessed script handle otherwise.

Source: wp-includes/blocks.php:140

Used by 1 function | Uses 8 functions