split_the_query

split_the_query

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('split_the_query') is found 1 times:

  • /wp-includes/class-wp-query.php line 3333
    			 *     @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 =