get_the_modified_date

Definition:
function get_the_modified_date($d = '') {}

Retrieve the date on which the post was last modified.

Parameters

  • string $d: Optional. PHP date format. Defaults to the “date_format” option

Defined filters

  • get_the_modified_date
    apply_filters('get_the_modified_date', $the_time, $d)

Source code

function get_the_modified_date($d = '') {

	if ( '' == $d )

		$the_time = get_post_modified_time(get_option('date_format'), null, null, true);

	else

		$the_time = get_post_modified_time($d, null, null, true);

	return apply_filters('get_the_modified_date', $the_time, $d);

}

1839

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: