split_the_query

split_the_query

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('split_the_query') is found 1 times:

  • /wp-includes/class-wp-query.php line 3333
    3329
    3330
    3331
    3332
    3333
    3334
    3335
    3336
    3337
    3338
    3339
    *     @type string $fields   The SELECT clause of the query.
     *     @type string $limits   The LIMIT clause of the query.
     * }
     */
    $split_the_query = apply_filters( 'split_the_query', $split_the_query, $this, $old_request, compact( $pieces ) );
     
    if ( $split_the_query ) {
        // First get the IDs and then fill in the objects.
     
        // Beginning of the string is on a new line to prevent leading whitespace. See https://core.trac.wordpress.org/ticket/56841.
        $this->request =