wpseek.com
A WordPress-centric search engine for devs and theme authors



get_the_date › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'get_the_date', $the_date, $format, $post )
Parameters: (3)
  • (string|int) $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Required: Yes
  • (string) $format PHP date format.
    Required: Yes
  • (WP_Post) $post The post object.
    Required: Yes
Defined at:
Codex:

Filters the date a post was published.





Source

return apply_filters( 'get_the_date', $the_date, $format, $post );