CronExpression_MonthField::validate()publicWC 1.0

{@inheritdoc}

Method of the class: CronExpression_MonthField{}

No Hooks.

Return

null. Nothing.

Usage

$CronExpression_MonthField = new CronExpression_MonthField();
$CronExpression_MonthField->validate( $value );
$value (required)
-

CronExpression_MonthField::validate() code WC 7.3.0

public function validate($value)
{
    return (bool) preg_match('/[\*,\/\-0-9A-Z]+/', $value);
}