bp_admin_repair_last_activity()
Repair user last_activity data.
Description
Re-runs the migration from usermeta introduced in BP 2.0.
Source
File: bp-core/admin/bp-core-admin-tools.php
604 605 606 607 608 609 | function bp_admin_repair_last_activity() { $statement = __( 'Determining last activity dates for each user… %s' , 'buddyboss' ); bp_last_activity_migrate(); return array ( 0, sprintf( $statement , __( 'Complete!' , 'buddyboss' ) ) ); } |
Changelog
Version | Description |
---|---|
BuddyPress 2.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.