A WordPress-centric search engine for devs and theme authors



get_the_date ›

Since3.0.0
Deprecatedn/a
apply_filters( 'get_the_date', $the_date, $d, $post )
Parameters: (3)
  • (string) $the_date The formatted date.
    Required: Yes
  • (string) $d PHP date format. Defaults to 'date_format' option if not specified.
    Required: Yes
  • (int|WP_Post) $post The post object or ID.
    Required: Yes
Defined at:
Codex:

Filters the date a post was published.





Source

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