bp_core_get_table_prefix()
Get the $wpdb base prefix, run through the ‘bp_core_get_table_prefix’ filter.
Description Description
The filter is intended primarily for use in multinetwork installations.
Return Return
(string) Filtered database prefix.
Source Source
File: bp-core/bp-core-functions.php
function bp_core_get_table_prefix() { global $wpdb; /** * Filters the $wpdb base prefix. * * Intended primarily for use in multinetwork installations. * * @since 1.2.6 * * @param string $base_prefix Base prefix to use. */ return apply_filters( 'bp_core_get_table_prefix', $wpdb->base_prefix ); }
Changelog Changelog
Version | Description |
---|---|
1.2.6 | Introduced. |