apply_filters( ‘block_parser_class’, string $parser_class )

In this article

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

Parameters

$parser_classstring
Name of block parser class.

Source

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

Changelog

VersionDescription
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.