bp_activity_remove_all_user_data_on_delete_user( int $user_id )

Deletes user activity data on the ‘delete_user’ hook.


Parameters Parameters

$user_id

(int) (Required) The ID of the deleted user.


Source Source

File: bp-activity/bp-activity-functions.php

function bp_activity_remove_all_user_data_on_delete_user( $user_id ) {
	if ( ! bp_remove_user_data_on_delete_user_hook( 'activity', $user_id ) ) {
		return;
	}

	bp_activity_remove_all_user_data( $user_id );
}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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