wphooks.info - the_author_{$field}

the_author_{$field}

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/author-template.php:
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
	/**
	 * The value of the requested user metadata.
	 *
	 * The filter name is dynamic and depends on the $field parameter of the function.
	 *
	 * @since 2.8.0
	 *
	 * @param string $author_meta The value of the metadata.
	 * @param int    $user_id     The user ID.
	 */
	echo apply_filters( "the_author_{$field}", $author_meta, $user_id );
}

/**
 * Retrieve either author's link or author's name.
 *
 * If the author has a home page set, return an HTML link, otherwise just return the
 * author's name.
 *
 * @since 3.0.0