get_the_modified_date

Advertisement

Summery Summery

Filters the date a post was last modified.

Syntax Syntax

apply_filters( 'get_the_modified_date', string|bool $the_time, string $format, WP_Post|null $post )

Parameters Parameters

$the_time

The formatted date or false if no post is found.

$format

PHP date format. Defaults to value specified in 'date_format' option.

$post

WP_Post object or null if no post is found.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Added the $post parameter.
2.1.0 Introduced.

Advertisement

Leave a Reply