AUTONAMI_USER_TAG_ADDED::setup_trigger()
Define and register the trigger by pushing it into the Automator object
Source
File: src/integrations/autonami/triggers/autonami-user-tag-added.php
public function setup_trigger() { $this->set_integration( 'AUTONAMI' ); $this->set_trigger_code( 'USER_TAG_ADDED' ); $this->set_trigger_meta( 'TAG' ); $this->set_is_login_required( false ); $this->set_support_link( $this->helpers->support_link( $this->trigger_code ) ); /* Translators: List name */ $this->set_sentence( sprintf( '{{A tag:%1$s}} is added to a user', $this->get_trigger_meta() ) ); $this->set_readable_sentence( '{{A tag}} is added to a user' ); $this->add_action( 'automator_bwfan_tag_added_to_contact' ); $this->set_action_args_count( 2 ); $this->set_options_callback( array( $this, 'load_options' ) ); }
Expand full source code Collapse full source code View on Github