AC_USER_LIST_ADD::__construct()


Source Source

File: src/integrations/active-campaign/actions/ac-user-list-add.php

	public function __construct() {

		$this->prefix = 'AC_USER_LIST_ADD';

		$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();
	}