Customizes the shortcode tag ( Useful if you were using a different plugin before and you are switching to Joli Table of contents, then you can still use your old shortcode tag without changing all of your content).

//use [custom-tag] shortcode instead of [ joli-toc ] (spaces have been added for the demonstration)
add_filter('jolitoc_shortcode_tag', function(){ return 'custom-tag';});
Was this page helpful?