dashaluna / hm-content-toc

WordPress plugin. Creates content TOC (table of contents) for specified header elements from the current post/page content. Adds anchor elements in the content just before the matched headers.
GNU General Public License v2.0
9 stars 6 forks source link

Add filter to matches #99

Open dashaluna opened 8 years ago

dashaluna commented 8 years ago

https://github.com/dashaluna/hm-content-toc/blob/master/includes/class-content-toc.php#L296

Params: matches, headers, content. Aim: allow to filter matches before constructing the TOC.