@@ 3676-3686 (lines=11) @@ | ||
3673 | $this->posts = array_map( 'get_post', $this->posts ); |
|
3674 | } |
|
3675 | ||
3676 | if ( ! $q['suppress_filters'] ) { |
|
3677 | /** |
|
3678 | * Filters the raw post results array, prior to status checks. |
|
3679 | * |
|
3680 | * @since 2.3.0 |
|
3681 | * |
|
3682 | * @param array $posts The post results array. |
|
3683 | * @param WP_Query &$this The WP_Query instance (passed by reference). |
|
3684 | */ |
|
3685 | $this->posts = apply_filters_ref_array( 'posts_results', array( $this->posts, &$this ) ); |
|
3686 | } |
|
3687 | ||
3688 | if ( !empty($this->posts) && $this->is_comment_feed && $this->is_singular ) { |
|
3689 | /** This filter is documented in wp-includes/query.php */ |
|
@@ 3807-3818 (lines=12) @@ | ||
3804 | wp_queue_comments_for_comment_meta_lazyload( $this->comments ); |
|
3805 | } |
|
3806 | ||
3807 | if ( ! $q['suppress_filters'] ) { |
|
3808 | /** |
|
3809 | * Filters the array of retrieved posts after they've been fetched and |
|
3810 | * internally processed. |
|
3811 | * |
|
3812 | * @since 1.5.0 |
|
3813 | * |
|
3814 | * @param array $posts The array of retrieved posts. |
|
3815 | * @param WP_Query &$this The WP_Query instance (passed by reference). |
|
3816 | */ |
|
3817 | $this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) ); |
|
3818 | } |
|
3819 | ||
3820 | // Ensure that any posts added/modified via one of the filters above are |
|
3821 | // of the type WP_Post and are filtered. |