Wordpress Plugging
Wodpress Plugging Creation Step 1: • • •
Create folder into wp-content/plugins folder Create php file into folder keep plugging folder name and main file name same. Add below code in to the php file : /* Plugin Name: pluging name Plugin URI: http://www.abc.net Description: Plugin description Author: vipul Version: 1.0 Author URI: http://www.abc.net */
• •
Now check in admin plugging, its showing plugging name in to plugging list. Now make it active
Step 2: 1. When Plugging active that time this function called register_activation_hook($file, function); example: register_activation_hook(__FILE__, ‘activation_action’); function activation_action () { /* write code here */ }
Prepared By: Vipul Patel
1