I was wondering if there was a method to do some of my own custom formatting before the post is saved to the database. I kn开发者_高级运维ow how to customize it when its fetched, but I'd rather keep the reading performance high over the write performance.
Thanks, Matt
You can create a plugin which you attach to content_filtered_save_pre
or content_save_pre
hook (see other hooks here http://codex.wordpress.org/Plugin_API/Filter_Reference)
精彩评论