W3cubDocs

/WordPress

apply_filters( 'wp_checkdate', bool $checkdate, string $source_date )

Filters whether the given date is valid for the Gregorian calendar.

Description

Parameters

$checkdate

(bool) Whether the given date is valid.

$source_date

(string) Date to check.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
3.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_checkdate