the_modified_author filter-hookWP 2.8.0

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

Usage

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(string)
The author's display name, empty string if unknown.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

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 : '' );

Where the hook is used in WordPress

Usage not found.