apply_filters_ref_array( 'comment_feed_limits', string $climits , WP_Query $query )
Filters the LIMIT clause of the comments feed query before sending.
Parameters
Source
File: wp-includes/class-wp-query.php
.
View all references
$climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Raise the number of comments retrieved in comment feeds from the default (10) to 100:
In PHP 5.2 or earlier:
In PHP 5.3 or later: