joli_toc_before_end_item_content

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

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