Automator_Recipe_Process_Complete::are_all_recipe_triggers_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 are_all_recipe_triggers_completed( $statuses ) {
		// if "All" option is set (default)
		foreach ( $statuses as $_trigger_status ) {
			if ( ! $_trigger_status ) {
				return false;
			}
		}
		return true;
	}