wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_checkdate › WordPress过滤钩子

Since3.5.0
已弃用n/a
› apply_filters( 'wp_checkdate', $checkdate, $source_date )
参数: (2)
  • () checkdate Whether the given date is valid.
    Required: Yes
  • () source_date Date to check.
    Required: Yes
定义在:
文档:

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





源码

return apply_filters( 'wp_checkdate', $checkdate, $source_date );