WordPress at Your Fingertips
function is not described

CronExpression_FieldInterface::isSatisfiedBy() public WC 1.0

Check if the respective value of a DateTime field satisfies a CRON exp

{} It's a method of the class: CronExpression_FieldInterface{}

No Hooks.


true|false. Returns TRUE if satisfied, FALSE otherwise


$CronExpression_FieldInterface = new CronExpression_FieldInterface();
$CronExpression_FieldInterface->isSatisfiedBy( $date, $value );
$date(DateTime) (required)
DateTime object to check
$value(string) (required)
CRON expression to test against

Code of CronExpression_FieldInterface::isSatisfiedBy() WC 6.1.0

public function isSatisfiedBy(DateTime $date, $value);