Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 08:54:02 PM (14 years ago)
Author:
boonebgorges
Message:

Abstracts user_meta keys so that they can be filtered. Fixes #2952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-loader.php

    r4211 r4372  
    150150        // The user ID of the user who is currently logged in.
    151151        $bp->loggedin_user->id   = $current_user->ID;
     152       
     153        // Keys for BP user_meta
     154        $bp->user_meta_keys->last_activity  = apply_filters( 'bp_user_meta_key_last_activity', 'last_activity' );
     155        $bp->user_meta_keys->closed_notices     = apply_filters( 'bp_user_meta_key_closed_notices', 'closed_notices' );
    152156
    153157        /** Avatars ***********************************************************/
Note: See TracChangeset for help on using the changeset viewer.