Getting started Inserting a Table of contents Blocks [1] [Joli Table of contents] Block Shortcodes [1] [joli-toc] shortcode Settings [2] Import / Export settings Post type settings Developer hooks [36] Filters [18] joli_toc_disable_autoinsert jolitoc_shortcode_tag joli_toc_post_content_preprocessing joli_toc_title_depth joli_toc_headings joli_toc_disable_styles joli_toc_disable_js joli_toc_toc_title joli_toc_toggle_button_icon_opened joli_toc_toggle_button_icon_closed joli_toc_list_tag joli_toc_the_content_filter_priority joli_toc_floating_widget_nav_prev [PRO] joli_toc_floating_widget_nav_next [PRO] jtoc_slide_out_toggle_html [PRO] joli_toc_disable_toc_custom joli_toc_item_link_attributes joli_toc_settings_capability Actions [14] joli_toc_before_table_of_contents joli_toc_before_header joli_toc_before_title joli_toc_after_title joli_toc_after_header joli_toc_before_headings joli_toc_after_headings joli_toc_after_table_of_contents joli_toc_before_begin_item_content joli_toc_after_begin_item_content joli_toc_after_begin_item_link joli_toc_before_end_item_link joli_toc_before_end_item_content joli_toc_after_end_item_content Javascript events [1] jtocClickedHeading Customizing the Table of contents [2] List of all CSS variables How to create my own theme ? FAQ Home / Documentation / Joli Table of contents / Developer hooks / Actions 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>'; }); Doc navigation < joli_toc_after_table_of_contents joli_toc_after_begin_item_content > Was this page helpful? Yes No