the_modified_author хук-фильтрWP 2.8.0

Filters the display name of the author who last edited the current post.

Использование

add_filter( 'the_modified_author', 'wp_kama_the_modified_author_filter' );

/**
 * Function for `the_modified_author` filter-hook.
 * 
 * @param string $display_name The author's display name, empty string if unknown.
 *
 * @return string
 */
function wp_kama_the_modified_author_filter( $display_name ){

	// filter...
	return $display_name;
}
$display_name(строка)
The author's display name, empty string if unknown.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

get_the_modified_author()
the_modified_author
wp-includes/author-template.php 105
return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' );

Где используется хук в WordPress

Использование не найдено.