joli_toc_before_begin_item_content

Lets you add content before each heading, immediatly before the div.wpj-jtoc–item-content tag.

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