Advertisement

render_block_context

Filters the default context provided to a rendered block.

generate_block_asset_handle

Generates the name for an asset based on the name of the block and the field name provided.

register_block_script_handle

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.

register_block_style_handle

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.

Advertisement

Advertisement

block_parser_class

Filter to allow plugins to replace the server-side block parser

excerpt_allowed_blocks

Filters the list of blocks that can contribute to the excerpt.

Advertisement

filter_block_kses_value

Filters and sanitizes a parsed block attribute value to remove non-allowable HTML.

filter_block_kses

Filters and sanitizes a parsed block to remove non-allowable HTML from block attribute values.

filter_block_content

Filters and sanitizes block content to remove non-allowable HTML from parsed block attribute values.