wordpress / latest / hooks / wp_checkdate.html

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

File: wp-includes/functions.php. View all references

return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );

Used By

Used By Description

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