get_author_posts_url
get_author_posts_url ( $author_id, $author_nicename = '' )
Parameters:- (int) author_id Author ID.
- (string) author_nicename Optional. The author's nicename (slug). Default empty.
Returns:- (string) The URL to the author's page.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves the URL to the author page for the user with the ID provided.