author_link filter-hook . WP 2.1.0
Filters the URL to the author's page.
Usage
add_filter( 'author_link', 'filter_function_name_5078', 10, 3 ); function filter_function_name_5078( $link, $author_id, $author_nicename ){ // filter... return $link; }
- $link(string)
- The URL to the author's page.
- $author_id(int)
- The author's ID.
- $author_nicename(string)
- The author's nice name.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
author_link
wp-includes/author-template.php 372
$link = apply_filters( 'author_link', $link, $author_id, $author_nicename );