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



get_page_of_comment_query_args › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'get_page_of_comment_query_args', $comment_args )
Parametry:
  • (array) $comment_args { Array of WP_Comment_Query arguments. @type string $type Limit paginated comments to those matching a given type. Accepts 'comment', 'trackback', 'pingback', 'pings' (trackbacks and pingbacks), or 'all'. Default 'all'. @type int $post_id ID of the post. @type string $fields Comment fields to return. @type bool $count Whether to return a comment count (true) or array of comment objects (false). @type string $status Comment status. @type int $parent Parent ID of comment to retrieve children of. @type array $date_query Date query clauses to limit comments by. See WP_Date_Query. @type array $include_unapproved Array of IDs or email addresses whose unapproved comments will be included in paginated comments. }
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the arguments used to query comments in get_page_of_comment().





Źródło

$comment_args = apply_filters( 'get_page_of_comment_query_args', $comment_args );