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 Description
This is a dynamic hook that is based on the component string ID.
Parameters Parameters
- $controllers
-
The list of BP REST API controllers to load.
Source Source
File: bp-core/classes/class-bp-component.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |