In this video Tutorials, we will learn how to create a custom plugin in WordPress.
Make the plugin visible in the plugin list.
We will set headers in WordPress and Deactive and active plugin.
Plugin headers:
https://developer.wordpress.org/plugins/plugin-basics/header-requirements/
plugin header code
CODE
/**
* Plugin Name: My Custom Plugin
* Plugin URI: https://example.com/plugins/the-basics/
* Description: My custom PLugin description. Handle the basics with this plugin.
* Version: 1.00
* Requires at least: 5.0
* Requires PHP: 7.0
* Author: Sahil Gulati
* Author URI: https://facebook.com/sahilgulati007
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: my-custom-plugin
*/
No comments:
Post a Comment