WordPress.org

Ready to get started?Download WordPress

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.5.2
Last Updated: 2013-5-7
Downloads: 788

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1