Changeset 13481 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 05/17/2023 11:14:06 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r13468 r13481 4664 4664 4665 4665 /** 4666 * Returns the upper limit on the "max" item count, for widgets that support it.4667 *4668 * @since 5.0.04669 *4670 * @param string $widget_class Optional. Class name of the calling widget.4671 * @return int4672 */4673 function bp_get_widget_max_count_limit( $widget_class = '' ) {4674 /**4675 * Filters the upper limit on the "max" item count, for widgets that support it.4676 *4677 * @since 5.0.04678 *4679 * @param int $count Defaults to 50.4680 * @param string $widget_class Class name of the calling widget.4681 */4682 return apply_filters( 'bp_get_widget_max_count_limit', 50, $widget_class );4683 }4684 4685 /**4686 4666 * Add a new BP_Optout. 4687 4667 *
Note: See TracChangeset
for help on using the changeset viewer.