How to parse post content on post save and save it in a custom metabox

后端 未结 0 656
旧时难觅i
旧时难觅i 2021-02-11 09:40

I want to generate a Table of Contents for posts on my blog, I have achieved that with

add_filter( \'the_content\', \'my_preg_replace_callback_function\' );


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题