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

Filters the time a post was written.

Description Description

Parameters Parameters


(string) The formatted time.


(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.


(int|WP_Post) WP_Post object or ID.

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.