Gary has written a post about his “Group Writing Project” WordPress plugin that should be interesting to anyone involved in WordPress hacking and plugin development. Most interesting is his description of a poorly documented WordPress function, wp_insert_post() that ought to be very useful.
The most important thing about the plugin is the wp_insert_post() function that I use. This is used to create new posts in the blog, just by using code and by passing an array to it, containing the data necessary.
What have I been doing hacking MySQL code when I could just use this function? Thanks for the tip Gary and I hope you post more nuggets like this in future 🙂
Tags: wordpress, plugin, php, code, development, hacks, tips