The Art of Plugin Development: Common Mistakes to Avoid ( WordCamp Speech)
The slides are as follows
The slides are as follows
add_action is used to add code to WordPress. This code can be executed when a specific event or hook occurs. For example, you could use add_action to add a custom message to the end of every post, or to redirect users to a different page after they log in. add_filter is used to modify the…
Welcome to WordPress. From a new plugin you can print hello world like this. First of all, call an action within a Global Request method as follows: Now run the code. Go to your site url like http://wordpress.local/?test=a Enjoy the output!