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



posts_fields ›

Desde2.1.0
Obsoleton/a
apply_filters_ref_array( 'posts_fields', array( $fields, &$this )
Parâmetros: (2)
  • (string) $fields The SELECT clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Definido em:
Codex:

Filters the SELECT clause of the query.





Fonte

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