W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
5.0.0 Introduced.

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