Pmp_Tokens::__construct()

Pmp_Tokens constructor.


Source

File: src/integrations/paid-memberships-pro/tokens/pmp-tokens.php

	public function __construct() {
		//*************************************************************//
		// See this filter generator AT automator-get-data.php
		// in function recipe_trigger_tokens()
		//*************************************************************//
		//add_filter( 'automator_maybe_trigger_pmp_tokens', [ $this, 'pmp_general_tokens' ], 20, 2 );
		//add_filter( 'automator_maybe_trigger_pmp_pmpmembership_tokens', [ $this, 'pmp_possible_tokens' ], 20, 2 );
		add_filter( 'automator_maybe_parse_token', [ $this, 'pmp_token' ], 20, 6 );
		add_action( 'uap_save_pmp_membership_level', [ $this, 'uap_save_pmp_membership_level' ], 10, 4 );
	}