W3cubDocs

/WordPress

apply_filters_ref_array( ‘comment_feed_limits’, string $climits, WP_Query $query )

Filters the LIMIT clause of the comments feed query before sending.

Parameters

$climitsstring
The JOIN clause of the query.
$queryWP_Query
The WP_Query instance (passed by reference).

Source

$climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) );

Changelog

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_feed_limits