Add Actions And Filters

Add PHP Code to create your own Actions and Filters

Author:Michael Simpson (profile at wordpress.org)
WordPress version required:4.4
WordPress version tested:6.3.2
Plugin version:2.10
Added to WordPress repository:06-05-2013
Last updated:07-11-2023
Rating, %:100
Rated by:20
Plugin URI:http://wordpress.org/extend/plugins/add-actio...
Total downloads:29 015
Active installs:2 000+
plugin download
Click to start download

Add PHP Code to create your own Shortcodes, Actions and Filters.

Can import your shortcodes from Shortcode Exec PHP plugin (which is no longer supported).

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 Dashboard -> Tools -> Shortcodes, Actions and Filters
but this is only available to users with Administrator role.

Why this plugin?
Existing WordPress documentation suggests adding your own shortcodes, action 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.