Trigger_Conditions::required_condition_in_trigger_meta( $recipes, string $required_condition = '' )

Further drill down recipes that has the required meta in them.


Parameters Parameters

$recipes

(Required)

$required_condition

(string) (Optional)

Default value: ''


Top ↑

Return Return

(array)


Source Source

File: src/core/lib/recipe-parts/triggers/trait-trigger-conditions.php

	protected function required_condition_in_trigger_meta( $recipes, $required_condition = '' ) {
		$required_condition = empty( $required_condition ) ? $this->get_trigger_meta() : $required_condition;

		return Automator()->get->meta_from_recipes( $recipes, $required_condition );
	}