get_comment_ID

FUNCTION wp-includes\comment-template.php (ligne 708) github
Filters the comment excerpt for display.

Paramètres

Entrée :
N/A
Sortie :
@param string $comment_excerpt The comment excerpt text.
@param string $comment_id      The comment ID as a numeric string.
@return string The comment ID as a numeric string.

Utilisation

// Utilisation de la fonction get_comment_ID
$result = get_comment_ID();

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

Actualités

Chargement des actualités...