wzkb_floating_toc_args
Filters arguments passed to TOC::process_content for the floating TOC.
Type: filter
Since: 3.0.0
Source: includes/frontend/class-floating-toc.php line 137
Parameters
| Type | Name | Description |
|---|---|---|
array | $toc_args | TOC arguments. |
\WP_Post | $post | Current post. |
Usage
add_filter( 'wzkb_floating_toc_args', function($toc_args, $post) {
// ...
return $toc_args;
} );