joli_toc_after_begin_item_link

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

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