How to filter $post->post_content prior to save

The content_save_pre filter is applied to the content before it gets saved in the database. Some default filters hook into it too, for example balanceTags() and wp_filter_post_kses().

Leave a Comment