A WordPress-centric search engine for devs and theme authors



posts_fields_request ›

Since2.5.0
Deprecatedn/a
apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this )
Parameters: (2)
  • (string) $fields The SELECT clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the SELECT clause of the query.

For use by caching plugins.





Source

$fields = apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this ) );