joli_toc_before_end_item_link

Lets you add content inside each heading link, immediatly after the heading title.

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