Warning: This function has been deprecated. Use get_the_author_meta() instead.
get_the_author_url() WordPress Function
The get_the_author_url() function in WordPress allows you to get the author's URL from their author profile. This can be useful if you want to link to the author's website from their author profile page on your WordPress site.
get_the_author_url() #
Retrieve the URL to the home page of the author of the current post.
Description
See also
Return
(string) The URL to the author's page.
Source
File: wp-includes/deprecated.php
function get_the_author_url() { _deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'url\')' ); return get_the_author_meta('url'); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Use get_the_author_meta() |
1.5.0 | Introduced. |