wpseek.com
A WordPress-centric search engine for devs and theme authors



block_parser_class › WordPress Filter Hooks

Since5.0.0
Deprecatedn/a
apply_filters( 'block_parser_class', 'WP_Block_Parser' )
Parameters:
  • (string) $parser_class Name of block parser class.
    Required: Yes
Defined at:
Codex:

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





Source

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