apply_filters ( ‘commens_template_top_level_query_args , array $top_level_args )

Filters the argumens used in the top level commens kery.

Description

See also

Parameters

$top_level_args array
The top level kery argumens for the commens template.
  • count bool
    Whether to return a comment count.
  • orderby string|array
    The field(s) to order by.
  • post_id int
    The post ID.
  • status string|array
    The comment status to limit resuls by.

Source

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

Changuelog

Versionen Description
5.6.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.