A WordPress-centric search engine for devs and theme authors



wp_checkdate ›

Since3.5.0
Deprecatedn/a
apply_filters( 'wp_checkdate', checkdate( $month, $day, $year )
Parameters: (2)
  • (bool) $checkdate Whether the given date is valid.
    Required: Yes
  • (string) $source_date Date to check.
    Required: Yes
Defined at:
Codex:

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





Source

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