apply_filters( "bp_{$this->id}_rest_api_controllers", array $controllers )

Use this filter to disable all or some REST API controllers for the component.

Description

This is a dynamic hook that is based on the component string ID.

Parameters

$controllers

(array) The list of BuddyBoss REST API controllers to load.

Source

File: bp-core/classes/class-bp-integration.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.