plugin development guideline
TRANSCRIPT
Plugin Development Guideline
Plugin’s Directory• my-plugin/
• /admin• /assets
• /css/• /images/• /js/
• /classes• /languages• /templates• my-plugin.php
Plugin Headers/*Plugin Name: My PluginPlugin URI: http://my-plugin.com/Description: This describes my plugin in a short sentenceVersion: 1.0Author: WordPress NepalAuthor URI: http://my-plugins-author.com/License: GPL2License URI: https://www.gnu.org/licenses/gpl-2.0.htmlDomain Path: /languagesText Domain: my-plugin*/
Using Hooks• Using existing hooks• add_action(), add_filter()
• Defining your own hooks• do_action(), apply_filters()
• Using hooks from everywhere
Readme.txt=== Plugin Name ===== Description ==== Installation ==== Frequently Asked Questions ==== Changelog ==
That’s all FolksFor Now :)