wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



comments_array › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
apply_filters( 'comments_array', $comments_flat, $post->ID )
Paramètres: (2)
  • (array) $comments Array of comments supplied to the comments template.
    Requis: Oui
  • (int) $post_id Post ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the comments array.





Source

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