get_comment_author_url_link

FUNCTION wp-includes\comment-template.php (ligne 398) github
Filters the comment author's URL for display.

Paramètres

Entrée :
$link_text = '', $before = '', $after = '', $comment = 0
Sortie :
@param string $comment_author_url The comment author's URL.
@param string $comment_id         The comment ID as a numeric string.
@param string         $link_text Optional. The text to display instead of the comment
@param string         $before    Optional. The text or HTML to display before the email link.
@param string         $after     Optional. The text or HTML to display after the email link.
@param int|WP_Comment $comment   Optional. Comment ID or WP_Comment object.
@return string The HTML link between the $before and $after parameters.

Utilisation

// Utilisation de la fonction get_comment_author_url_link
$result = get_comment_author_url_link($link_text = '', $before = '', $after = '', $comment = 0);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...