On this page
apply_filters( 'block_parser_class', string $parser_class )
Filter to allow plugins to replace the server-side block parser.
Parameters
$parser_classstring-
Name of block parser class.
Source
File: wp-includes/blocks.php. View all references
$parser_class = apply_filters( 'block_parser_class', 'WP_Block_Parser' );
Related
Used By
| Used By | Description |
|---|---|
| parse_blocks() wp-includes/blocks.php | Parses blocks out of a content string. |
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