get_comment_author_link [ WordPress Function ]
get_comment_author_link ( $comment_ID = 0 )
| Parameters: |
|
| Uses: | |
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: get_comment_author_url_link, get_comment_author_ip, comment_author_link, get_comment_author_url, get_comment_author_email_link
Retrieve the html link to the url of the author of the current comment.
Source
<?php
function get_comment_author_link( $comment_ID = 0 ) {
/** @todo Only call these functions when they are needed. Include in if... else blocks */
$url = get_comment_author_url( $comment_ID );
$author = get_comment_author( $comment_ID );
if ( empty( $url ) || 'http://' == $url )
$return = $author;
else
$return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";
return apply_filters('get_comment_author_link', $return);
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/comment author link « WordPress Codex
Description. Displays the comment author's name linked to his/her URL, if one was provided. Use get_comment_author_link to retrieve the value.
codex.wordpress.org - WordPress › Support » Tags — get_comment_author_link
Register · WordPress › Support » get_comment_author_link ... get_comment_author_link bug when username has 2 or more words, 1, radiourionline, 1 year ...
wordpress.org - get_comment_author_link Wordpress hook details -- Adam Brown ...
Applied to the HTML generated for the author's link on a comment, in the get_comment_author_link function (which is also called by comment_author_link .
adambrown.info - get_comment_author_link (WordPress Function) - WPSeek.com
WordPress lookup for get_comment_author_link, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com
Kullanýcý Tartýþmalarý [ wordpress.org ]
- radiourionline on "get_comment_author_link bug when username has 2 or more words"
- Shaun Brown on "How to add my own class to "get_comment_author_link();" ?"
- live627 on "get_comment_author_link problem"
- ptvguy on "Comment Functions"
- ptvguy on "Comment Functions"
- jeroenl on "Comment Functions"
- orangeandblue on "Fatal error: Unknown function: get_comment_author_link()"
- ptvguy on "Comment Functions"