Recent

wzkb_github_export_toc_prefilterPro only

wzkb_github_export_toc_pre

Fires before a knowledgebase/toc block is converted.

Return a modified array to adjust which attrs are serialised, or return a string to bypass conversion entirely.

Type: filter
Since: 3.1.0
Source: includes/github/class-content-exporter.php line 897

Parameters

Type Name Description
array $block Full parsed block array.

Usage

add_filter( 'wzkb_github_export_toc_pre', function($block) {
    // ...
    return $block;
} );