开发者

Custom Formatting before Save Wordpress

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜