A WordPress-centric search engine for devs and theme authors



posts_results ›

Since2.3.0
Deprecatedn/a
apply_filters_ref_array( 'posts_results', array( $this->posts, &$this )
Parameters: (2)
  • (WP_Post[]) $posts Array of post objects.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the raw post results array, prior to status checks.





Source

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