Filters the comments count for display.
$comment_id = 0, $args = array(
Sortie :
@param string $comments_number_text A translatable string formatted based on whether the count @param int $comments_number The number of post comments. @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the text. @param array $args Optional. An array of arguments. Default empty array. @return string The comment content.
// Utilisation de la fonction get_comment_text
$result = get_comment_text($comment_id = 0, $args = array();
if ($result) {
// Votre logique ici
}
Chargement des actualités...