apply_filters( 'the_time', string $get_the_time, string $format )

Filters the time a post was written for display.


Parameters

$get_the_time string
The formatted time.
$format string
Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.

Top ↑

Source

File: wp-includes/general-template.php. View all references

echo apply_filters( 'the_time', get_the_time( $format ), $format );


Top ↑

Changelog

Changelog
Version Description
0.71 Introduced.

Top ↑

User Contributed Notes

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