apply_filters( 'bp_rest_api_is_available', boolean $value )

Filter here to disable the BP REST API.

Description

The BP REST API requires at least WordPress 4.7.0

Parameters

$value

(boolean) True if the BP REST API is available. False otherwise.

Source

File: bp-core/bp-core-rest-api.php

Changelog

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.