Automator_Recipe_Process_User::get_trigger_id( $args,  $trigger,  $recipe_id,  $maybe_recipe_log_id,  $ignore_post_id )


Parameters Parameters

$args

(Required)

$trigger

(Required)

$recipe_id

(Required)

$maybe_recipe_log_id

(Required)

$ignore_post_id

(Required)


Top ↑

Return Return

(array)


Source Source

File: src/core/lib/process/class-automator-recipe-process-user.php

	public function get_trigger_id( $args, $trigger, $recipe_id, $maybe_recipe_log_id, $ignore_post_id ) {

		if ( $ignore_post_id ) {
			$get_trigger_id = $this->maybe_validate_trigger_without_postid( $args, $trigger, $recipe_id, $maybe_recipe_log_id );
		} else {
			$get_trigger_id = $this->maybe_validate_trigger( $args, $trigger, $recipe_id, $maybe_recipe_log_id );
		}

		return $get_trigger_id;
	}