Skip to:
Content

BuddyPress.org

Changeset 12770


Ignore:
Timestamp:
10/28/2020 01:16:54 PM (6 years ago)
Author:
dcavins
Message:

Revert "Allow invitations table name to be filtered."

This reverts commit r12759. We'll accomplish the
filtration of the table name in another way.

See #8375.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-invitation-manager.php

    r12759 r12770  
    5151         */
    5252        public static function get_table_name() {
    53                 /**
    54                  * Filter the invitations table name.
    55                  *
    56                  * @since 7.0.0
    57                  *
    58                  * @var string $table_name Name of the invitations table.
    59                  */
    60                 $table_name = apply_filters( 'bp_invitations_table_name', 'bp_invitations' );
    61 
    62                 return buddypress()->table_prefix . $table_name;
     53                return buddypress()->table_prefix . 'bp_invitations';
    6354        }
    6455
Note: See TracChangeset for help on using the changeset viewer.