bp_rest_in_buddypress()
Should we use the REST Endpoints of built BuddyBoss?
Description
If the BuddyBoss Platform REST API plugin is active, it overrides BuddyBoss REST enpoints. This allows us to carry on maintaining all the BP REST API endpoints from the BuddyBoss Platform REST API plugin on GitHub.
Return
(bool) Whether to use the REST Endpoints of built BuddyBoss.
Source
File: bp-core/bp-core-rest-api.php
function bp_rest_in_buddypress() { return ! bp_rest_is_plugin_active(); }
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.