I am using
wordpress3.5, I need to write post information to a file after I publish a post successfully.
What I am not know is
When I click Publish button, what function wordpress invoke to save the post to mysql table wp_posts. I dive into wordpess's code ,found many many php file include.
If I want to do more action, what should I do. For example, I want to write the post information to a file.
Thanks very much.