Writing a Wordpress Plugin

  • Bill_Thompson
  • Student
  • Student
  • User avatar
  • Joined: Jun 24, 2005
  • Posts: 73
  • Status: Offline

Post February 1st, 2010, 12:06 am

I am going to write my own WordPress Plugin (from scratch).

I am wondering if anyone here has had any experience doing this and if they can offer any suggestions.

I have been looking for some sort of comprehensive list of all the "hooks", "Filters" and "actions" and what they are used for.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 1st, 2010, 12:06 am

  • nexuslite
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 11, 2010
  • Posts: 10
  • Loc: Keizer, OR
  • Status: Offline

Post February 11th, 2010, 5:40 am

I have recently started writing wordpress plugins. I would suggest using other plugins as reference. Since I don't know the specifics of your application I can't give you any better pointers than that.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post February 14th, 2010, 3:39 am

It's been awhile since I've written a Wordpress plugin. The following list looks like the one I was referencing last time I did though.
http://codex.wordpress.org/Plugin_API/Action_Reference

Probably the two most important hooks you'll use are register_activation_hook and register_deactivation_hook.

Once you have those two working right so you can install and cleanup after a plugin after un-install the rest should be fairly easy. :D
Strong with this one, the sudo is.
  • genux
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jan 22, 2010
  • Posts: 106
  • Loc: UK
  • Status: Offline

Post February 15th, 2010, 2:02 am

Cheers joebert, I am about to write a wordpress plugin as well, that is a good link.
CF

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 186 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.