split_the_query

split_the_query

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('split_the_query') is found 1 times:

  • /wp-includes/class-wp-query.php line 3305
    			 *
    			 * @param bool     $split_the_query Whether or not to split the query.
    			 * @param WP_Query $query           The WP_Query instance.
    			 */
    			$split_the_query = apply_filters( 'split_the_query', $split_the_query, $this );
    
    			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 =