Plugin Directory

Add Actions And Filters

Add PHP Code to create your own Actions and Filters

Add PHP Code to create your own Actions and Filters.

Provides a place to add your code that is more convenient than putting it in your theme's functions.php file.

Add your code in the administration area -> Tools -> Add Actions and Filters but this is only available to users with Administrator role.

Why this plugin? Existing WordPress documentation suggests adding your own functions and filters in the theme's functions.php file. This is not a good idea because

  • If you upgrade your theme, this file can be overwritten and
  • if you change your theme then you need to add the same code to that theme as well.

Your code additions should not have to be artificially tied to your theme. This plugin frees you from that constraint.

Credit: inspired by a similar plugin: Shortcode Exec PHP

Credit: includes Edit area

Requires: 3.2.1 or higher
Compatible up to: 3.9.9
Last Updated: 2014-6-27
Active Installs: 1,000+


5 out of 5 stars


2 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.