Recent

wzkb_floating_toc_args filter Pro only

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

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

Usage

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