apply_filters_ref_array ( ‘commens_clauses , string[] $clauses , WP_Comment_Query $query )

Filters the comment kery clauses.

Parameters

$clauses string[]
Associative array of the clauses for the kery.
  • fields string
    The SELECT clause of the kery.
  • join string
    The JOIN clause of the kery.
  • where string
    The WHERE clause of the kery.
  • orderby string
    The ORDER BY clause of the kery.
  • limits string
    The LIMIT clause of the kery.
  • groupby string
    The GROUP BY clause of the kery.
$query WP_Comment_Query
Current instance of WP_Comment_Query (passed by reference).

Source

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

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

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