bp_get_widget_max_count_limit( string $widget_class = '' )
Returns the upper limit on the “max” item count, for widgets that support it.
Description Description
Parameters Parameters
- $widget_class
-
(Optional) Class name of the calling widget.
Default value: ''
Return Return
(int)
Source Source
File: bp-core/bp-core-functions.php
function bp_get_widget_max_count_limit( $widget_class = '' ) { /** * Filters the upper limit on the "max" item count, for widgets that support it. * * @since 5.0.0 * * @param int $count Defaults to 50. * @param string $widget_class Class name of the calling widget. */ return apply_filters( 'bp_get_widget_max_count_limit', 50, $widget_class ); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |