Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/17/2023 11:14:06 AM (3 years ago)
Author:
imath
Message:

Deprecate BP Legacy widgets

Deprecate all classes, functions, JavaScripts and files related to Legacy Widgets. Legacy Widgets are now available from the BP Classic plugin.

See #8869
Closes https://github.com/buddypress/buddypress/pull/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r13468 r13481  
    46644664
    46654665/**
    4666  * Returns the upper limit on the "max" item count, for widgets that support it.
    4667  *
    4668  * @since 5.0.0
    4669  *
    4670  * @param string $widget_class Optional. Class name of the calling widget.
    4671  * @return int
    4672  */
    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.0
    4678      *
    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 /**
    46864666 * Add a new BP_Optout.
    46874667 *
Note: See TracChangeset for help on using the changeset viewer.