Advanced_Coupons_Tokens::__construct()


Source

File: src/integrations/advanced-coupons/tokens/advanced-coupons-tokens.php

	public function __construct() {

		add_filter(
			'automator_maybe_trigger_acfwc_acfwcspendscredit_tokens',
			array( $this, 'trigger_acfwc_trigger_tokens_func' ),
			20,
			2
		);

		add_filter(
			'automator_maybe_trigger_acfwc_acfwcreceivescredit_tokens',
			array( $this, 'trigger_acfwc_trigger_tokens_func' ),
			20,
			2
		);

		add_filter(
			'automator_maybe_parse_token',
			array(
				$this,
				'acfwc_parse_tokens',
			),
			20,
			6
		);

	}