Automator_Input_Parser::parse_inner_token( $pieces,  $args )

This function parses inner token(s) {{POSTMETA:[[TOKEN]]:meta_key}} and replace its value in actual token


Parameters Parameters

$pieces

(Required)

$args

(Required)


Top ↑

Return Return

(mixed)


Source Source

File: src/core/lib/utilities/class-automator-input-parser.php

	public function parse_inner_token( $pieces, $args ) {
		if ( empty( $pieces ) ) {
			return $pieces;
		}
		$pieces = $this->parse_inner_token_post_id_part( $pieces, $args );
		$pieces = $this->parse_inner_token_meta_key_part( $pieces, $args );

		return $pieces;
	}