get_edit_bookmark_link

FUNCTION wp-includes\link-template.php (ligne 1659) github
Filters the comment edit link anchor tag.

Paramètres

Entrée :
$link = 0
Sortie :
@param string $link       Anchor tag for the edit link.
@param string $comment_id Comment ID as a numeric string.
@param string $text       Anchor text.
@param int|stdClass $link Optional. Bookmark ID. Default is the ID of the current bookmark.
@return string|void The edit bookmark link URL.

Utilisation

// Utilisation de la fonction get_edit_bookmark_link
$result = get_edit_bookmark_link($link = 0);

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

Actualités

Chargement des actualités...