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.


Top ↑

Source Source

File: bp-core/classes/class-bp-component.php


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.