joli_toc_after_begin_item_content

Lets you add content inside each heading, as the first child of the div.wpj-jtoc–item-content tag.

add_action( 'joli_toc_after_begin_item_content', function (){
    echo '<p>Content</p>';
});
Was this page helpful?