WordPress 5.3.1 Hooks, Functions, Classes and Methods

filter_block_content()

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

filter_block_kses()

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

serialize_block()

Returns the content of a block, including comment delimiters, serializing all attributes from the given parsed block.

serialize_blocks()

Returns a joined string of the aggregate serialization of the given parsed blocks.