Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_comments_number ›

Desde1.5.0
Obsoleton/a
apply_filters( 'get_comments_number', $count, $post_id )
Parâmetros: (2)
  • (string|int) $count A string representing the number of comments a post has, otherwise 0.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
Definido em:
Codex:

Filters the returned comment count for a post.





Fonte

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