wphooks.info - the_modified_author

the_modified_author

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/author-template.php:
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
	if ( $last_id = get_post_meta( get_post()->ID, '_edit_last', true ) ) {
		$last_user = get_userdata( $last_id );

		/**
		 * Filters the display name of the author who last edited the current post.
		 *
		 * @since 2.8.0
		 *
		 * @param string $last_user->display_name The author's display name.
		 */
		return apply_filters( 'the_modified_author', $last_user->display_name );
	}
}

/**
 * Display the name of the author who last edited the current post,
 * if the author's ID is available.
 *
 * @since 2.8.0
 *