Un motore di ricerca WordPress per sviluppatori e autori di temi



get_comments_number ›

Da1.5.0
Deprecaton/a
apply_filters( 'get_comments_number', $count, $post_id )
Parametri: (2)
  • (string|int) $count A string representing the number of comments a post has, otherwise 0.
    Richiesto:
  • (int) $post_id Post ID.
    Richiesto:
Definito a:
Codex:

Filters the returned comment count for a post.





Sorgenti

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