What does the author_nicename parameter do in get_author_posts_url()?
Say that get_author_posts_url(1) return the following URL https://example.com/author/admin/ Passing the $author_nicename will change this. So get_author_posts_url(1, ‘foo’) will result in https://example.com/author/foo/ You can also check this in the source code of get_author_posts_url(). So what does passing the second argument do? It changes the resulting URL. If you don’t provide further mechanisms, this will probably result … Read more