EvaluateAndGetStatus::evaluate( array $spec, string $current_status, object $stored_state, object $rule_evaluator )

Evaluates the spec and returns a status.


Description Description


Parameters Parameters

$spec

(Required) The spec to evaluate.

$current_status

(Required) The note's current status.

$stored_state

(Required) Stored state.

$rule_evaluator

(Required) Evaluates rules into true/false.


Top ↑

Return Return

(string) The evaluated status.


Top ↑

Source Source

File: packages/woocommerce-admin/src/RemoteInboxNotifications/EvaluateAndGetStatus.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.