Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Mailchimp_Helpers::validate_trigger()

validate_trigger

Contents


Return Return

(void)


Source Source

File: src/integrations/mailchimp/helpers/mailchimp-helpers.php

	public function validate_trigger() {
		$msg = 'true';
		try {
			Api_Server::charge_credit();
		} catch ( \Exception $e ) {
			$msg = $e->getMessage();
		}
		$this->log( '[2/3. Validating found trigger]. Result: ' . $msg );
		return 'true' === $msg;
	}