wp_checkdate WordPress Filter Hook
The wp_checkdate function is used to validate a date. It is used to check if a date is valid according to the Gregorian calendar. The function returns true if the date is valid, and false if the date is not valid.
apply_filters( 'wp_checkdate',  bool $checkdate ,  string $source_date  ) #
Filters whether the given date is valid for the Gregorian calendar.
Parameters
- $checkdate
 (bool)Whether the given date is valid.
- $source_date
 (string)Date to check.
Source
Changelog
| Version | Description | 
|---|---|
| 3.5.0 | Introduced. |