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 on GitHub



Changelog

Changelog
Version Description
WP-3.5.0 Introduced.