bp_core_get_table_prefix

  • apply_filters( 'bp_core_get_table_prefix', $wpdb->base_prefix )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 69
      /**
       * Allow filtering of database prefix. Intended for use in multinetwork installations.
       *
       * @global object $wpdb WordPress database object
       * @return string Filtered database prefix
       */
      function bp_core_get_table_prefix() {
      	global $wpdb;
      
      	return apply_filters( 'bp_core_get_table_prefix', $wpdb->base_prefix );
      }
      
      /**
       * Fetches BP pages from the meta table, depending on setup
       *
       * @package BuddyPress Core
       * @since 1.5
       *
       * @todo Remove the "Upgrading from an earlier version of BP pre-1.5" block. Temporary measure for
       *       people running trunk installations. Leave for a version or two, then remove.
      

Comments are closed.