Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



posts_clauses_request ›

Seit3.1.0
Veraltetn/v
apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces )
Parameter: (2)
  • (string[]) $pieces Associative array of the pieces of the query.
    Erforderlich: Ja
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Erforderlich: Ja
Definiert in:
Codex:

Filters all query clauses at once, for convenience.

For use by caching plugins.

Covers the WHERE, GROUP BY, JOIN, ORDER BY, DISTINCT, fields (SELECT), and LIMITS clauses.





Quellcode

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