@@ 2866-2876 (lines=11) @@ | ||
2863 | $this->posts = array_map( 'get_post', $this->posts ); |
|
2864 | } |
|
2865 | ||
2866 | if ( ! $q['suppress_filters'] ) { |
|
2867 | /** |
|
2868 | * Filters the raw post results array, prior to status checks. |
|
2869 | * |
|
2870 | * @since 2.3.0 |
|
2871 | * |
|
2872 | * @param array $posts The post results array. |
|
2873 | * @param WP_Query &$this The WP_Query instance (passed by reference). |
|
2874 | */ |
|
2875 | $this->posts = apply_filters_ref_array( 'posts_results', array( $this->posts, &$this ) ); |
|
2876 | } |
|
2877 | ||
2878 | if ( !empty($this->posts) && $this->is_comment_feed && $this->is_singular ) { |
|
2879 | /** This filter is documented in wp-includes/query.php */ |
|
@@ 2997-3008 (lines=12) @@ | ||
2994 | wp_queue_comments_for_comment_meta_lazyload( $this->comments ); |
|
2995 | } |
|
2996 | ||
2997 | if ( ! $q['suppress_filters'] ) { |
|
2998 | /** |
|
2999 | * Filters the array of retrieved posts after they've been fetched and |
|
3000 | * internally processed. |
|
3001 | * |
|
3002 | * @since 1.5.0 |
|
3003 | * |
|
3004 | * @param array $posts The array of retrieved posts. |
|
3005 | * @param WP_Query &$this The WP_Query instance (passed by reference). |
|
3006 | */ |
|
3007 | $this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) ); |
|
3008 | } |
|
3009 | ||
3010 | // Ensure that any posts added/modified via one of the filters above are |
|
3011 | // of the type WP_Post and are filtered. |