| @@ -1324,8 +1324,10 @@ | ||
| 1324 | 1324 | * @param array $action_options The action's stored options (with tags already passed) |
| 1325 | 1325 | * @param stdClass $automation The action's automation object |
| 1326 | 1326 | */ |
| 1327 | 1327 | do_action( 'automatorwp_execute_action', $action, $user_id, $event, $action_options, $automation ); |
| 1328 | + // Run hook based on action type | |
| 1329 | + do_action( "automatorwp_execute_action_{$action->type}", $action, $user_id, $event, $action_options, $automation ); | |
| 1328 | 1330 | |
| 1329 | 1331 | $log_meta = array(); |
| 1330 | 1332 | |
| 1331 | 1333 | /** |