posts_request_ids

posts_request_ids

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('posts_request_ids') is found 1 times:

  • /wp-includes/class-wp-query.php line 3355
    3351
    3352
    3353
    3354
    3355
    3356
    3357
    3358
    3359
    3360
    3361
    *
     * @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 );