bp_rest_is_plugin_active()
Is the BP REST plugin is active?
Description
Return
(boolean) True if the BP REST plugin is active. False otherwise.
Source
File: bp-core/bp-core-rest-api.php
function bp_rest_is_plugin_active() { return (bool) has_action( 'bp_rest_api_init', 'bp_rest', 5 ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.3.5 | 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.