What does the author_nicename parameter do in get_author_posts_url()?

by Matthew Brown aka Lord Matt   Last Updated June 13, 2019 10:08 AM

I was looking at get_author_posts_url() which takes the user id as a param and returns a URL. It has an optional second parameter $author_nicename.

get_author_posts_url( $author_id, $author_nicename );

What does providing $author_nicename do exactly?

Tags : functions


Related Questions


Updated March 26, 2015 11:02 AM

Updated April 04, 2015 19:03 PM

Updated April 05, 2015 18:03 PM

Updated May 18, 2015 09:03 AM

Updated May 29, 2015 03:03 AM