Add apply_filters for free triggers
-
Hello,
Thanks for the great work you did with the plugin.I’m building a new integration with your plugin, And I built a new trigger and I’m almost done with everything but there’s only one thing left that’s preventing me from finishing it.
In class TriggerBase, there’s a validation here
if ( !TriggerValidationService\TriggerValidationService::get_instance()->is_valid($rule) )
And following that I landed to a class where you specify the free triggers, But I can’t extend it to add my own trigger to it so my class can work.
$this->free_triggers = array("Device", "User-Behavior", "Geolocation", "UserIp", "Time-Date");
Can you please add an ‘apply_filters’ to that line so I can add my own class to it?
Thank you.
- The topic ‘Add apply_filters for free triggers’ is closed to new replies.