the_author_posts_link filter-hookWP 2.9.0

Filters the link to the author page of the author of the current post.

Usage

add_filter( 'the_author_posts_link', 'wp_kama_the_author_posts_link_filter' );

/**
 * Function for `the_author_posts_link` filter-hook.
 * 
 * @param string $link HTML link.
 *
 * @return string
 */
function wp_kama_the_author_posts_link_filter( $link ){

	// filter...
	return $link;
}
$link(string)
HTML link.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

get_the_author_posts_link()
the_author_posts_link
wp-includes/author-template.php 333
return apply_filters( 'the_author_posts_link', $link );

Where the hook is used in WordPress

Usage not found.