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.

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes

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