apply_filters( 'author_link', string $link, int $author_id, string $author_nicename )
- Since
- 2.1.0
Filters the URL to the author's page.
Parameters
$linkstring- The URL to the author's page.
$author_idint- The author's ID.
$author_nicenamestring- The author's nice name.
Fired at · 1
wp-includes/author-template.php:393get_author_posts_url()
Source
<?php * @since 2.1.0 * * @param string $link The URL to the author's page. * @param int $author_id The author's ID. * @param string $author_nicename The author's nice name. */ $link = apply_filters( 'author_link', $link, $author_id, $author_nicename ); return $link;} /** * Lists all the authors of the site, with several options available.History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.