get_post_modified_time

Advertisement

Summery Summery

Filters the localized time a post was last modified.

Syntax Syntax

apply_filters( 'get_post_modified_time', string $time, string $format, bool $gmt )

Parameters Parameters

$time

The formatted time.

$format

Format to use for retrieving the time the post was modified. Accepts 'G', 'U', or PHP date format. Default 'U'.

$gmt

Whether to retrieve the GMT time. Default false.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply