apply_filters( 'split_the_query', bool $split_the_query, WP_Query $this )

Filters whether to split the query.


Description

Splitting the query will cause it to fetch just the IDs of the found posts (and then individually fetch each post by ID), rather than fetching every complete row at once. One massive result vs. many small results.


Parameters

$split_the_query

Whether or not to split the query.

$this

The WP_Query instance.


Source

File: wp-includes/class-wp-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.4.0 Introduced.