CronExpression_FieldInterface::validate()publicWC 1.0

Validates a CRON expression for a given field

Method of the class: CronExpression_FieldInterface{}

No Hooks.

Return

true|false. Returns TRUE if valid, FALSE otherwise

Usage

$CronExpression_FieldInterface = new CronExpression_FieldInterface();
$CronExpression_FieldInterface->validate( $value );
$value(string) (required)
CRON expression value to validate

CronExpression_FieldInterface::validate() code WC 7.3.0

public function validate($value);