Creating First PlugIn
Wordpress plugin are located in wp-content/plugins folder. Open plugin folder and create new folder.
Example: my_first_plugin
Then create a plugin file name that contaning plugin information like plugin name, author, etc
Sample code for plugin ( file name is my-first-plugin.php )
<?php
/**
* Plugin Name: My First Plugin
* Plugin URI: https://@/
* Description: My First Plugin.
* Version: 4.2
* Author: #
* Author URI: http://#/
**/
All above steps are done as well goto wordpress dashboard and goto plugin page
Now you can able to see the "My First Plugin" plugin in the plugin list
Enjoy!