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



comments_template_top_level_query_args › WordPress Filter Hooks

Da5.6.0
Deprecaton/a
apply_filters( 'comments_template_top_level_query_args', $top_level_args )
Parametri:
  • (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. }
    Richiesto:
Definito a:
Codex:

Filters the arguments used in the top level comments query.





Sorgenti

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