bp_core_admin_maybe_remove_from_update_core

On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3.

Description

bp_core_admin_maybe_remove_from_update_core(); 

Originally hooked to load-update-core.php..


Usage

  1. if ( !function_exists( 'bp_core_admin_maybe_remove_from_update_core' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/deprecated/2.8.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_core_admin_maybe_remove_from_update_core(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/deprecated/2.8.php  
  1. function bp_core_admin_maybe_remove_from_update_core() { 
  2. return; 
  3.  
  4. // Add filter to remove BP from the update plugins list.