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 / Filters joli_toc_title_depth Lets you control headings processing depth. The output string must be composed of heading tags separated by a coma and with no space. add_filter('joli_toc_title_depth', function($depth){ return 'h2,h3'; }); Doc navigation < joli_toc_post_content_preprocessing joli_toc_headings > Was this page helpful? Yes No