Getting Started

Last Updated: August 19, 2021

When you develop a WordPress plugin you can follow the following steps

1- First you have to select the unique name for the plugin which will not collide with other available plugins. Assume that you have selected the name of your plugin is myplugin

2 Create a directory inside the wp-content>plugins and name it myplugin

The 3 basic hooks you’ll need when creating a plugin are the register_activation_hook(), the register_deactivation_hook(), and the register_uninstall_hook().