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)
  • (string|int) $comments_number 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', $comments_number, $post_id );