apply_filters_ref_array( 'post_limits', string $limits, WP_Query $this )

Filters the LIMIT clause of the query.


Parameters

$limits

The LIMIT clause of the query.

$this

The WP_Query instance (passed by reference).


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-2.1.0 Introduced.