Easy Steps To Create a WordPress Plugin

Writing a Plugin

I have added this post because I got many requests. In this article i will describe the easy and simple steps to create the wordpress plugin. WordPress Plugins allow to easy modification, customization, and enhancement in a WordPress blog or website.


Standard Plugin Information

Add the header information in top of your Plugin’s main PHP file because WordPress recognize to getting the information for Plugin management screen so it can be activated and run its functions. Below is the plugin header format:

 Programming Your Plugin

write the code for your plugin functionalities after the header infomation. In this section describes about your plugin, how to accomplish several tasks your Plugin will do.

WordPress Plugin Hooks

example of add_action() hooks

do_action() hooks

Execute all functions on a specific action hook.

 Complete example for plugin


If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , , , ,