wzkb_docs_on_this_page_args
Filters arguments passed to TOC::process_content for the docs layout outline.
Type: filter
Since: 3.1.0
Source: includes/pro/frontend/class-docs-layout.php line 258
Parameters
| Type | Name | Description |
|---|---|---|
array |
$toc_args |
TOC arguments. |
\WP_Post |
$post |
Current post. |
Usage
add_filter( 'wzkb_docs_on_this_page_args', function($toc_args, $post) {
// ...
return $toc_args;
} );