Recent

wzkb_docs_on_this_page_args filter Pro only

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/frontend/class-docs-layout.php line 258

Parameters

TypeNameDescription
array$toc_argsTOC arguments.
\WP_Post$postCurrent post.

Usage

add_filter( 'wzkb_docs_on_this_page_args', function($toc_args, $post) {
    // ...
    return $toc_args;
} );