apply_filters_ref_array( 'post_limits_request', string $limits, WP_Query $query )

Filters the LIMIT clause of the query.


Description

For use by caching plugins.


Parameters

$limits

The LIMIT clause of the query.

$query

The WP_Query instance (passed by reference).


Source

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

View on GitHub



Changelog

Changelog
Version Description
2.5.0 Introduced.