wordpress / latest / hooks / block_parser_class.html

apply_filters( 'block_parser_class', string $parser_class )

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

Parameters

$parser_class string
Name of block parser class.

Source

File: wp-includes/blocks.php. View all references

$parser_class = apply_filters( 'block_parser_class', 'WP_Block_Parser' );

Used By

Used By Description

Changelog

Version Description
5.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_parser_class