Sign up right now for email updates and get two free ebooks:

Gary King on WordPress Plugin Development

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: , , , , , ,

Sign up right now for email updates and get these
two free ebooks

"Creating Killer
Flagship Content"

"Authority Alliances"

Just enter your primary email address in the form below and hit the button!

Feed Count

chrisg.com runs on the Genesis Framework

Genesis Framework

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!

Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.