wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_comments_number › Les Filtres WordPress

Depuis1.5.0
Dépréciéen/a
apply_filters( 'get_comments_number', $comments_number, $post_id )
Paramètres: (2)
  • (string|int) $comments_number A string representing the number of comments a post has, otherwise 0.
    Requis: Oui
  • (int) $post_id Post ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the returned comment count for a post.





Source

return apply_filters( 'get_comments_number', $comments_number, $post_id );