WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_the_date

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 2581 /**
* Filters the date a post was published.
*
* @since 3.0.0
*
* @param string|int $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
* @param string $format PHP date format.
* @param WP_Post $post The post object.
*/

Hook Parameters

Parameter Type Name Description
string|int $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
string $format PHP date format.
WP_Post $post The post object.