wzkb_toc_block_output
Filters the TOC block HTML output.
Type: filter
Since: 3.0.0
Source: includes/blocks/class-blocks.php line 281
Parameters
| Type | Name | Description |
|---|---|---|
string | $output | TOC block HTML. |
array | $attributes | Block attributes. |
\WP_Post | $post | Current post. |
Usage
add_filter( 'wzkb_toc_block_output', function($output, $attributes, $post) {
// ...
return $output;
} );