apply_filters( 'get_the_time', string $the_time, string $d, int|WP_Post $post )

Filters the time a post was written.


Parameters

$the_time

(string) The formatted time.

$d

(string) Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format value specified in 'time_format' option. Default empty.

$post

(int|WP_Post) WP_Post object or ID.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.