apply_filters_ref_array( 'comments_clauses', string[] $clauses, WP_Comment_Query $query )

Filters the comment query clauses.


Parameters

$clauses string[]
An associative array of comment query clauses.
$query WP_Comment_Query
Current instance of WP_Comment_Query (passed by reference).

Top ↑

Source

File: wp-includes/class-wp-comment-query.php. View all references

$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $clauses ), &$this ) );


Top ↑

Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes

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