Filters the default context provided to a rendered block.
Removes the block asset’s path prefix if provided.
Generates the name for an asset based on the name of the block and the field name provided.
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.
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.
Registers a block type from metadata stored in the `block.json` file.
Unregisters a block style.
Registers a new block style.
Filter to allow plugins to replace the server-side block parser
Filters the block being rendered in render_block(), before it’s processed.
Allows render_block() to be short-circuited, by returning a non-null value.
Filters the list of blocks that can contribute to the excerpt.
Filters and sanitizes a parsed block attribute value to remove non-allowable HTML.
Filters and sanitizes a parsed block to remove non-allowable HTML from block attribute values.
Filters and sanitizes block content to remove non-allowable HTML from parsed block attribute values.