get_comment_author_url() WP 1.0
Retrieve the url of the author of the current comment.
Basis of: get_comment_author_link(), comment_author_url()
Hooks from the function
Return
String. Comment author URL, if provided, an empty string otherwise.
Usage
get_comment_author_url( $comment_ID );
- $comment_ID(int/WP_Comment)
- WP_Comment or the ID of the comment for which to get the author's URL.
Default: current comment
Changelog
Since 1.5.0 | Introduced. |
Since 4.4.0 | Added the ability for $comment_ID to also accept a WP_Comment object. |
Code of get_comment_author_url() get comment author url WP 5.6
Related Functions
From tag: Comments
- comment_link()
- comments_template()
- get_comment_author()
- get_comment_author_link()
- get_comment_excerpt()
- get_comment_link()