Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



comment_author_link ›

Seit0.71
Veraltetn/v
comment_author_link ( $comment_ID = 0 )
Parameter:
  • (int|WP_Comment) $comment_ID Optional. WP_Comment or the ID of the comment for which to print the author's link. Default current comment.
    Erforderlich: Nein
    Standard:
Definiert in:
Codex:
Changelog:
  • 4.4.0 Added the ability for ` $comment_ID` to also accept a WP_Comment object.

Display the html link to the url of the author of the current comment.



Quellcode

function comment_author_link( $comment_ID = 0 ) {
	echo get_comment_author_link( $comment_ID );
}