AC_CONTACT_TAG_REMOVED::trigger_conditions( $args )
Check tag ID against the trigger meta
Contents
Parameters Parameters
- $args
-
(Required)
Source Source
File: src/integrations/active-campaign/triggers/ac-contact-tag-removed.php
public function trigger_conditions( $args ) { if ( ! is_array( $args ) ) { return; } $ac_event = array_shift( $args ); if ( ! is_array( $ac_event ) || ! isset( $ac_event['tag'] ) ) { return; } $this->do_find_any( true ); // Support "Any tag" option // FInd the tag in trigger meta $this->do_find_this( $this->get_trigger_meta() ); $this->do_find_in( $ac_event['tag'] ); }
Expand full source code Collapse full source code View on Github