Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/28/2020 01:17:03 PM (14 months ago)
Author:
dcavins
Message:

Add BP Invitations table name to Members component.

To allow the BP Invitations table name to be filtered, add a new element, table_name_invitations, to the Members component's global_tables declaration.

Props imath.

Fixes #8375.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-members-component.php

    r12748 r12771  
    177177            'search_string'   => __( 'Search Members...', 'buddypress' ),
    178178            'global_tables'   => array(
     179                'table_name_invitations'   => bp_core_get_table_prefix() . 'bp_invitations',
    179180                'table_name_last_activity' => bp_core_get_table_prefix() . 'bp_activity',
    180181                'table_name_signups'       => $wpdb->base_prefix . 'signups', // Signups is a global WordPress table.
Note: See TracChangeset for help on using the changeset viewer.