Easy Steps To Create a WordPress Plugin

Prem Tiwari - - Plugins, WordPress, WordPress Beginners

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


About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , , , , ,