Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49442, comment 1


Ignore:
Timestamp:
02/15/2020 06:38:28 AM (5 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49442, comment 1

    initial v1  
    1 I think this is the intention of the `block_parser_class` a few lines above. If you need to heavily customise the block parsing and result then you can use this filter to specify your own class that does so. If you extend the `WP_Block_Parser` class then you can reuse its methods.
     1I think this is the intention of the `block_parser_class` filter a few lines above. If you need to heavily customise the block parsing and result then you can use this filter to specify your own class that does so. If you extend the `WP_Block_Parser` class then you can reuse its methods.
    22
    33Does that suit your needs @dougwollison or do you think there's still value in having a filter applied to the parsed result?