posts_request_ids

posts_request_ids

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('posts_request_ids') is found 1 times:

  • /wp-includes/class-wp-query.php line 3355
    				 *
    				 * @param string   $request The post ID request.
    				 * @param WP_Query $query   The WP_Query instance.
    				 */
    				$this->request = apply_filters( 'posts_request_ids', $this->request, $this );
    
    				$post_ids = $wpdb->get_col( $this->request );
    
    				if ( $post_ids ) {
    					$this->posts = $post_ids;
    					$this->set_found_posts( $q, $limits );