Automator_Recipe_Process_Complete::is_any_recipe_trigger_completed( $statuses )


Parameters Parameters

$statuses

(Required)


Top ↑

Return Return

(bool)


Source Source

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

	public function is_any_recipe_trigger_completed( $statuses ) {
		// if "All" option is set (default)
		foreach ( $statuses as $_trigger_status ) {
			if ( $_trigger_status ) {
				return true;
			}
		}
		return false;
	}