bp_friends_clear_request_cache( int $friend_user_id )

Clear the friend request cache for the user not initiating the friendship.


Parameters Parameters

$friend_user_id

(int) (Required) The user ID not initiating the friendship.


Source Source

File: bp-friends/bp-friends-cache.php

function bp_friends_clear_request_cache( $friend_user_id ) {
	wp_cache_delete( $friend_user_id, 'bp_friends_requests' );
}


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.