AC_ANNON_ADDTAG::__construct()


Source Source

File: src/integrations/active-campaign/actions/ac-annon-addtag.php

	public function __construct() {
		$this->prefix          = 'AC_ANNON_ADDTAG';
		$this->ac_endpoint_uri = AUTOMATOR_API_URL . 'v2/active-campaign';

		// Allow overwrite in wp-config.php.
		if ( DEFINED( 'UO_AUTOMATOR_DEV_AC_ENDPOINT_URL' ) ) {
			$this->ac_endpoint_uri = UO_AUTOMATOR_DEV_AC_ENDPOINT_URL;
		}

		$this->setup_action();
	}