WordPress开发者和主题制作者的搜索引擎



found_posts ›

Since2.1.0
已弃用n/a
apply_filters_ref_array( 'found_posts', array( $this->found_posts, &$this )
参数: (2)
  • (int) $found_posts The number of posts found.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
定义在:
文档:

Filters the number of found posts for the query.





源码

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