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



the_posts ›

Desde1.5.0
Obsoleton/a
apply_filters_ref_array( 'the_posts', array( $this->posts, &$this )
Parâmetros: (2)
  • (WP_Post[]) $posts Array of post objects.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Definido em:
Codex:

Filters the array of retrieved posts after they've been fetched and internally processed.





Fonte

$this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) );