bp_admin_repair_last_activity()

Repair user last_activity data.


Description Description

Re-runs the migration from usermeta introduced in BP 2.0.


Source Source

File: bp-core/admin/bp-core-admin-tools.php

function bp_admin_repair_last_activity() {
	$statement = __( 'Determining last activity dates for each user… %s', 'buddypress' );
	bp_last_activity_migrate();
	return array( 0, sprintf( $statement, __( 'Complete!', 'buddypress' ) ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.