AUTONAMI_CONTACT_ADDED_TO_LIST::trigger_conditions( $args )

Check list ID against the trigger meta


Parameters Parameters

$args

(Required)


Source Source

File: src/integrations/autonami/triggers/autonami-contact-added-to-list.php

	public function trigger_conditions( $args ) {

		try {
			$list_id = $this->helpers->extract_list_id_from_args( $args );
		} catch ( \Exception $e ) {
			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( $list_id );

	}