On this page
apply_filters( 'wp_checkdate', bool $checkdate, string $source_date )
Filters whether the given date is valid for the Gregorian calendar.
Parameters
$checkdatebool-
Whether the given date is valid.
$source_datestring-
Date to check.
Source
File: wp-includes/functions.php. View all references
return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );
Related
Used By
| Used By | Description |
|---|---|
| wp_checkdate() wp-includes/functions.php | Tests if the supplied date is valid for the Gregorian calendar. |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_checkdate