the_permalink

Definition:
function the_permalink() {}

Display the permalink for the current post.

Defined filters

  • the_permalink
    apply_filters('the_permalink', get_permalink()

Source code

function the_permalink() {

	echo apply_filters('the_permalink', get_permalink());

}

3029

the_modified_time

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

Display the time at which the post was last modified.

Parameters

  • string $d: Optional Either ‘G’, ‘U’, or php date format defaults to the value specified in the time_format option.

Defined filters

  • the_modified_time
    apply_filters('the_modified_time', get_the_modified_time($d)

Source code

function the_modified_time($d = '') {

	echo apply_filters('the_modified_time', get_the_modified_time($d), $d);

}

3027

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

the_modified_author

Definition:
function the_modified_author() {}

Display the name of the author who last edited the current post.

Return values

returns:The author’s display name, from get_the_modified_author().

Source code

function the_modified_author() {

	echo get_the_modified_author();

}

3023

the_meta

Display list of post custom fields.

Defined filters

  • the_meta_key
    apply_filters('the_meta_key', "<li><span class='post-meta-key'>$key:</span> $value</li>\n", $key, $value)

Source code

function the_meta() {

	if ( $keys = get_post_custom_keys() ) {

		echo "<ul class='post-meta'>\n";

		foreach ( (array) $keys as $key ) {

			$keyt = trim($key);

			if ( is_protected_meta( $keyt, 'post' ) )

				continue;

			$values = array_map('trim', get_post_custom_values($key));

			$value = implode($values,', ');

			echo apply_filters('the_meta_key', "<li><span class='post-meta-key'>$key:</span> $value</li>\n", $key, $value);

		}

		echo "</ul>\n";

	}

}

3021