bp_check_incompatible_plugins()
Check for incompatible plugins that are currently active.
Description
Source
File: bp-loader.php
if ( in_array( $incompatible_plugin, $plugins ) ) {
$incompatible_plugins[] = $error_message;
}
}
if ( empty( $is_bp_active ) && empty( $is_bb_active ) && empty( $incompatible_plugins ) ) {
// Required PHP version.
define( 'BP_REQUIRED_PHP_VERSION', '5.3.0' );
/**
* The main function responsible for returning the one true BuddyBoss Instance to functions everywhere.
*
* Use this function like you would a global variable, except without needing
* to declare the global.
*
* Example: <?php $bp = buddypress(); ?>
*
* @return BuddyPress|null The one true BuddyPress Instance.
*/
function buddypress() {
return BuddyPress::instance();
}
/**
* Adds an admin notice to installations that don't meet minimum PHP requirement.
*
* @since BuddyPress 2.8.0
*/
function bp_php_requirements_notice() {
if ( ! current_user_can( 'update_core' ) ) {
return;
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.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.