apply_filters( "bp_{$this->id}_global_tables" )

Filters the global tables for the component, so that it may use WordPress’ database API.

Description

This is a dynamic hook that is based on the component string ID. It allows for component-specific filtering of table names. To filter all tables, use the ‘bp_core_get_table_prefix’ filter instead.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.6.0 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.