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



comments_template_top_level_query_args › Les Filtres WordPress

Depuis5.6.0
Dépréciéen/a
apply_filters( 'comments_template_top_level_query_args', $top_level_args )
Paramètres:
  • (array) $top_level_args { The top level query arguments for the comments template. @type bool $count Whether to return a comment count. @type string|array $orderby The field(s) to order by. @type int $post_id The post ID. @type string|array $status The comment status to limit results by. }
    Requis: Oui
Défini(e) dans:
Codex:

Filters the arguments used in the top level comments query.





Source

$top_level_args = apply_filters( 'comments_template_top_level_query_args', $top_level_args );