apply_filters( ‘wp_checkdate’, bool $checkdate, string $source_date )

In this article

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

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

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.