wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



comments_template_top_level_query_args › Filtr WordPress Hooks

Od5.6.0
Przestarzałyn/a
apply_filters( 'comments_template_top_level_query_args', $top_level_args )
Parametry:
  • (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. }
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the arguments used in the top level comments query.





Źródło

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