This function has been deprecated. BuddyPress 2.8.0 instead.

bp_core_admin_remove_buddypress_from_update_transient( object $retval )

Filter callback to remove BuddyPress from the update plugins list.

Description

Attached to the ‘site_transient_update_plugins’ filter.

Parameters

$retval

(Required) Object of plugin update data.

Return

(object)

Source

File: bp-core/deprecated/buddypress/2.8.php

73
74
75
76
77
78
79
80
81
82
83
84
function bp_core_admin_remove_buddypress_from_update_transient( $retval ) {
    _deprecated_function( __FUNCTION__, '2.8' );
 
    $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
 
    // Remove BP from update plugins list.
    if ( isset( $retval->response[ $loader ] ) ) {
        unset( $retval->response[ $loader ] );
    }
 
    return $retval;
}

Changelog

Changelog
Version Description
BuddyPress 2.8.0 BuddyPress 2.8.0
BuddyPress 2.7.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.