AUTONAMI_ADD_CONTACT_TAG::setup_action()

Setup Action.


Return Return

(Uncanny_Automatorvoid.)


Source Source

File: src/integrations/autonami/actions/autonami-add-contact-tag.php

	protected function setup_action() {

		$this->set_integration( 'AUTONAMI' );
		$this->set_action_code( 'ADD_CONTACT_TAG' );
		$this->set_action_meta( 'TAG' );
		$this->set_is_pro( false );

		$this->set_support_link( $this->helpers->support_link( $this->action_code ) );

		$this->set_requires_user( false );

		/* translators: tag name */
		$this->set_sentence( sprintf( esc_attr__( 'Add {{a tag:%1$s}} to a contact', 'uncanny-automator' ), $this->get_action_meta() ) );

		$this->set_readable_sentence( esc_attr__( 'Add {{a tag}} to a contact', 'uncanny-automator' ) );

		$this->set_options_callback( array( $this, 'load_options' ) );

	}