A WordPress-centric search engine for devs and theme authors



posts_orderby_request ›

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

Filters the ORDER BY clause of the query.

For use by caching plugins.





Source

$orderby = apply_filters_ref_array( 'posts_orderby_request', array( $orderby, &$this ) );