apply_filters( 'mc_db_prefix', $wpdb->prefix, $table, $site ) → {string}
Filter the database prefix. Useful when accessing a remote database with a different prefix.
Parameters:
Name | Type | Description |
---|---|---|
$wpdb->prefix |
string | Local DB prefix. |
$table |
string | Database table requested. |
$site |
int | string | bool | A site ID, the string 'global' for the main site, or false for defaults. |
- Source:
Returns:
- Type
- string