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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_checkdate