the_modified_date

Definition:
function the_modified_date($d = '', $before='', $after='', $echo = true) {}

Display the date on which the post was last modified.

Parameters

  • string $d: Optional. PHP date format defaults to the date_format option if not specified.
  • string $before: Optional. Output before the date.
  • string $after: Optional. Output after the date.
  • bool $echo: Optional, default is display. Whether to echo the date or return it.

Return values

returns:Null if displaying, string if retrieving.

Defined filters

  • the_modified_date
    apply_filters('the_modified_date', $the_modified_date, $d, $before, $after)

Source code

function the_modified_date($d = '', $before='', $after='', $echo = true) {



	$the_modified_date = $before . get_the_modified_date($d) . $after;

	$the_modified_date = apply_filters('the_modified_date', $the_modified_date, $d, $before, $after);



	if ( $echo )

		echo $the_modified_date;

	else

		return $the_modified_date;



}

3025

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: