A WordPress-centric search engine for devs and theme authors



found_posts ›

Since2.1.0
Deprecatedn/a
apply_filters_ref_array( 'found_posts', array( $this->found_posts, &$this )
Parameters: (2)
  • (int) $found_posts The number of posts found.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the number of found posts for the query.





Source

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