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



comments_array › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
› apply_filters( 'comments_array', $comments_flat, $post->ID )
Parametri: (2)
  • () comments Array of comments supplied to the comments template.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the comments array.





Sorgenti

$wp_query->comments = apply_filters( 'comments_array', $comments_flat, $post->ID );