wppaste
WordPress

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

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

Parameters

$checkdatebool
Whether the given date is valid.
$source_datestring
Date to check.

Fired at · 1

  • wp-includes/functions.php:7363wp_checkdate()

Source

	 *	 * @since 3.5.0	 *	 * @param bool   $checkdate   Whether the given date is valid.	 * @param string $source_date Date to check.	 */	return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );} /** * Loads the auth check for monitoring whether the user is still logged in. * * Can be disabled with remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );

History

Introduced in 3.5.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.