• Skip to main content
  • Skip to header left navigation
  • Skip to site footer
  • About Chris Garrett
  • Blog
  • Services
  • Contact
  • Websites
    • Maker Hacks
    • Retro Game Coders
    • D6 Combat
    • Healthy Foodie
    • York Next Generation Gaming Club
Chris Garrett

Chris Garrett

Build your business by sharing what you know

Gary King on WordPress Plugin Development

Home » Blog » 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: wordpress, plugin, php, code, development, hacks, tips

Category: DevelopmentTags:

Copyright © 2023 · Chris Garrett ·
All Rights Reserved

Powered by Mai Theme

  • Blogging
  • Marketing
  • Business
  • Productivity
  • Writing
  • Development
  • Reviews
  • News