Wpum_Tokens::__construct()

Wpum_Tokens constructor.


Source

File: src/integrations/wp-user-manager/tokens/wpum-tokens.php

	public function __construct() {
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumregform_tokens', [
			$this,
			'wpum_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumuserpphoto_tokens', [
			$this,
			'wpum_fields_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumuserpphotor_tokens', [
			$this,
			'wpum_fields_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumusercover_tokens', [
			$this,
			'wpum_fields_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumuserpcoverr_tokens', [
			$this,
			'wpum_fields_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_trigger_wpusermanager_wpumuserdescription_tokens', [
			$this,
			'wpum_fields_possible_tokens',
		], 20, 2 );
		add_filter( 'automator_maybe_parse_token', [ $this, 'parse_wpum_tokens' ], 20, 6 );
	}