This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Automation Rules


Automation allows you to build new features on the fly and automate plugins using simple “rules”.

Use “rules” to assign what happens on your site when certain events occur. An individual rule consists of an event, some conditions to check, and one or more actions to take. For example:

Rule 1.

Event: When a user logs in…
Action: Increment a login count for the user.

Rule 2.

Event: When a user logs in…
Condition: If their login counter has reached a certain threshold…
Action: Promote the user to a new member role.

Multiple rules can work in coordination with each other to create workflows and custom features.

A rule is the building block for creating automations, and automations are a path to create new custom site features by connecting various “automation ready” plugins and their behaviors in new ways.

The possibilities of what you can automate is only limited by your imagination (or the number of “automation ready” plugins you have installed on your site). If you want to automate features of a plugin that is not yet automation ready, that’s not a problem because an expansion pack can easily be created to make it automation ready.

Automation Bundles

Multiple “rules” can be grouped together into “automation bundles”, which is a convenient way to package and share your creations with other site owners. These “automation bundles” allow anybody to create customized behaviors between automation ready plugins, and distribute those in a way that allow others to use them with minimal configuration.


  • Updated MWP Framework to 1.2.11 for compat with latest Woo



  • Date/Time config widget presets
  • Taxonomy config widget presets
  • A creator field can now be specified for rule bundles


  • Token browser launch button re-styled
  • Performance improvements via new table indexes
  • Email action now supports token replacements
  • Recurring action schedule is now visible on scheduled actions table
  • Removed ‘before_setup_theme’ rule event since it is unhookable by rules
  • Rules Engine link appears in network admin menu for multisite installs
  • Downloaded rules files now have a suffix that matches the type of rule package
  • Flushing the system logs table now just truncates the table instead of iterating and deleting


  • Bug causing rule conditions not to be re-organizable
  • Bug getting bundle url with custom parameters via code
  • Bug causing condition ‘compare’ mode not to save
  • Bug causing table on rules debug tabs to not be pageable
  • Bug with line endings being present on arrays entered through input widgets
  • Bug with null rule_parent_id causing rules to not be visible in tables
  • Bug causing post meta crud events to not be available for use by rules



  • Custom actions can now be scheduled manually
  • Token browser now shows mapped array keys for event args


  • Removed manual config form option for custom action arguments that do not have a config widget
  • Widened the hook priority support for rule deployments


  • Auto detect provider for ecas registered by plugins that are network enabled



  • Array value search condition now has setting for case insensitivity
  • New ‘checkbox’ config preset widget
  • Any class that extends MWP\Framework\Pattern\ActiveRecord can now automagically register a full set of ECA’s with rules via static method registerRulesECAs()
  • Token selector now available on the action scheduling unique key form input
  • Added support for storing references to known objects in the class map for later loading


  • Event argument selection is now always available in condition/action config, even if no event args can be matched to 2 levels


  • Fixed scheduled action controller not conforming to proper database schema
  • Fixed custom log entries not showing after editing default sort order on log
  • Fixed non-working token replacement on action scheduling unique key
  • Fixed non-working scheduled action unique key management
  • Fixed scheduled actions not working when operating on stored objects
  • Fixed custom filters not showing on custom events page



  • Improved the capabilities of the string comparision core condition to handle checking against arrays


  • Fixed broken show/hide form rows on post/comment update action config forms



  • Token browser added. Event argument selection and token replacements can now be browsed using a gui.
  • Custom logs and custom log entries are now accessible through the token browser.
  • Custom logs can now be customized to choose default sorting, alternate sorting, and searching columns.
  • Log entries count now displays on the dashboard logs tab


  • Changed to work with MWP Framework 2.1.x



  • Full exception handling for PHP7
  • Token mappings for current site properties
  • Added a link to get to the system log in the admin menu


  • The redirect rules action is now safeguarded against redirecting when in the admin interface
  • Downloads of rules now auto name the file according to the item being downloaded
  • The view template for custom logs now display their field name instead of the database column name


  • Error caused when using the token evaluator function in custom php actions/conditions
  • Base compare setting for conditions was not saving to the rule



  • New field for custom events to categorize them
  • Providers of ECA’s are now tracked in rules exports
  • Custom events and custom actions now have separate management screens
  • Custom actions can have rules assigned to them which comprise their core functionality
  • Added multisite support which moves rules administration to the network admin and allows rules to target specific sites



  • Bundles can now have a menu item added to the WP Settings Menu
  • Added ability to specify attachments in the email action


  • Removed foreign key references from exported rule data
  • Adjusted verbage for exporting rules from ‘Export …’ to ‘Download …’
  • Removed the download option from the dashboard bundle panel


  • Corrected active record class map generation output



  • Improvements to user interface
  • Menu item for custom logs to manage fields
  • Menu item for custom logs to flush entries
  • Started tracking the rules_apps table for future use
  • Added an extension to the ActiveRecord class to add the class to the rules map addToRulesMap()


  • Fixed broken uninstall routine
  • Fixed various php notices
  • Fixed database errors caused by non-present tables on initial install


  • Removed unused dependency tracking code
  • Removed search box from rules controller



  • Event: Admin Initialized
  • Event: Admin Header
  • Event: Admin Footer
  • Event: Login Attempt Failed
  • Date/time now displays by default on log entries table
  • Added internal api methods to get specific arguments from hooks, logs, and bundles
  • Added a $token_value variable which contains a function that can be used to get token values inside rule configuration custom php code.
  • Added quick enable/disable labels to bundles, rules, conditions, and actions
  • Added custom log field visibility options
  • Added custom log retention maintenance settings


  • “Log entry created” events now recieve the log and entry as arguments
  • Added css styles to suppress notice and update messages on rules admin pages
  • String database column size increased from 255 to 1028


  • Completed the incomplete ‘update filter value’ action


  • First official release


  1. Install the plugin.
  2. Click the “Rules Engine” link in the WP Admin.
  3. Start a new rule by clicking the “Start A Rule” button.


May 31, 2019
Zero support! Does not work at all with different environments! Cause white die at the site. Suggest to remove it from the repository.
October 30, 2018
It's great to see that someone has finally tackled this feature for WordPress, and my testing thus far suggests that they've done a nice job of it. It's a big win for users to have their developers be able to do this sort of automation without writing custom PHP that someone is obliged to support forever. A rules scripting system like this provides a level of abstraction that, in addition to simplifying the implementation of many features, can considerably reduce the ongoing support burden associated with them. For this system to achieve its potential, other plugin authors will need to step up and provide integration support for their events and data. I hope that they will. The API provided to permit this looks pretty clear and complete.
June 5, 2018
We've been looking for a plugin like this for years on WordPress. Most other CMS platforms have some sort of 'rules' system but WordPress has been missing it. This plugin is super comprehensive, tons of features!
Read all 3 reviews

Contributors & Developers

“Automation Rules” is open source software. The following people have contributed to this plugin.


Translate “Automation Rules” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.