Tokens::parse_user_tokens( $meta,  $token )


Parameters Parameters

$meta

(Required)

$token

(Required)


Top ↑

Return Return

(mixed|void)


Source Source

File: src/core/lib/recipe-parts/trait-tokens.php

	public static function parse_user_tokens( $meta, $token ) {
		/**
		 * @var mixed $value
		 * @var array $pieces
		 * @var int $recip_id
		 * @var array $trigger_data
		 * @var int $user_id
		 * @var array $replace_args
		 */
		extract( $token ); // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
		if ( ! self::is_valid( $meta, $token ) ) {
			return apply_filters( 'automator_parse_user_tokens', $value, $meta, $token );
		}
	}