Now that I have a plugin that can be activated and deactivated, it might be nice to know when the plugin has completed loading. In the code below, I have added a function for this (line 43) , and an
WordPress plugin Hooks: Activation and Deactivation
Ok, so now I’ve got the beginnings of a plugin. Time to learn about hooks! However, first, notice that I’ve added text related to the actual license. Turns out that’s a proper practice, so I’ve added it as follows: <?php
WordPress plugins: Where to begin
Here is one place you can start if you are looking for basic info on creating a plugin: http://codex.wordpress.org/Writing_a_Plugin Create a file in the plugins folder. Call it whatever you’d like. Place a comment block at the top