CF_SUBFORM::__construct()

Set up Automator trigger constructor.


Source Source

File: src/integrations/caldera-forms/triggers/cf-subform.php

	public function __construct() {
		$this->trigger_code = 'CFSUBFORM';
		$this->trigger_meta = 'CFFORMS';
		add_filter( 'wpcf_verify_nonce', '__return_true' );
		add_action(
			'plugins_loaded',
			function () {
				$this->define_trigger();
			}
		);
	}