the_time

Advertisement

Summery Summery

Display the time at which the post was written.

Syntax Syntax

the_time( string $format = '' )

Parameters Parameters

$format

(Optional) Either 'G', 'U', or PHP date format.

Default value: ''

Source Source

File: wp-includes/general-template.php

	 */
	$the_date = apply_filters( 'the_date', $the_date, $format, $before, $after );

	if ( $echo ) {
		echo $the_date;
	} else {
		return $the_date;
	}
}

/**
 * Retrieve the date on which the post was written.

Advertisement

Changelog Changelog

Changelog
Version Description
0.71 Introduced.

Advertisement

Leave a Reply