Tag Archives: do_action

Use Custom Actions in Your WordPress Plugins

If you’ve been using WordPress for any amount of time, you’ve probably come across a plugin that asks you to add something to your template. The instructions will say something like:
Insert the following into your theme files where you want the plugin’s widget to appear:
<?php my_plugin_widget() ?>

The slightly more intelligent instructions will understand that [...]