Uma área de pesquisa sobre o WordPress para devs e autores do tema



posts_orderby ›

Desde1.5.1
Obsoleton/a
apply_filters_ref_array( 'posts_orderby', array( $orderby, &$this )
Parâmetros: (2)
  • (string) $orderby The ORDER BY clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Definido em:
Codex:

Filters the ORDER BY clause of the query.





Fonte

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