wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_comments_number › WordPress Filter Hooks

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

Filters the returned comment count for a post.





Sorgenti

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