wzkb_floating_toc_args
Filters arguments passed to TOC::process_content for the floating TOC.
Type: filter
Since: 3.0.0
Source: includes/pro/frontend/class-floating-toc.php line 139
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;
} );