Functions |
Description |
|---|---|
| bp_friends_clear_request_cache() |
Clear the friend request cache for the user not initiating the friendship. |
| bp_friends_clear_request_cache_on_remove() |
Clear the friend request cache when a friendship is removed. |
| bp_friends_clear_request_cache_on_save() |
Clear the friend request cache when a friendship is saved. |
| bp_friends_delete_activity_on_friendship_delete() |
Remove friendship activity item when a friendship is deleted. |
| bp_friends_delete_activity_on_user_delete() |
Deletes friendship activity items when a user is deleted. |
| bp_friends_delete_cached_friendships_on_friendship_save() |
Delete individual friendships from the cache when they are changed. |
| bp_friends_filter_activity_just_me_scope() |
Set up activity arguments for use with the ‘just-me’ scope. |
| bp_friends_filter_activity_scope() |
Set up activity arguments for use with the ‘friends’ scope. |
| bp_friends_filter_document_scope() |
Set up media arguments for use with the ‘friends’ scope. |
| bp_friends_filter_folder_scope() |
Set up media arguments for use with the ‘friends’ scope. |
| bp_friends_filter_media_scope() |
Set up media arguments for use with the ‘friends’ scope. |
| bp_friends_filter_title() |
Filters the title for the Connections component |
| bp_friends_filter_user_query_populate_extras() |
Filter BP_User_Query::populate_extras to add confirmed friendship status. |
| bp_friends_format_activity_action_friendship_accepted() |
Format ‘friendship_accepted’ activity actions. |
| bp_friends_format_activity_action_friendship_created() |
Format ‘friendship_created’ activity actions. |
| bp_friends_friendship_accepted_activity() |
Add activity feed items when one members accepts another members request for virtual friendship. |
| bp_friends_friendship_requested_notification() |
Notify one use that another user has requested their virtual friendship. |
| bp_friends_get_profile_stats() |
Return the number of friends in user’s profile. |
| bp_friends_header_tabs() |
Displays Connections header tabs |
| bp_friends_mark_friendship_accepted_notifications_by_type() |
Delete any friendship acceptance notifications for the logged in user. |
| bp_friends_mark_friendship_rejected_notifications_by_item_id() |
Remove friend request notice when a member rejects another members |
| bp_friends_mark_friendship_request_notifications_by_type() |
Delete any friendship request notifications for the logged in user. |
| bp_friends_mark_friendship_withdrawn_notifications_by_item_id() |
Remove friend request notice when a member withdraws their friend request. |
| bp_friends_prefetch_activity_object_data() |
Fetch data related to friended users at the beginning of an activity loop. |
| bp_friends_prime_mentions_results() |
Used by the Activity component’s @mentions to print a JSON list of the current user’s friends. |
| bp_friends_profile_stats() |
Display the number of friends in user’s profile. |
| bp_friends_random_friends() |
Output a block of random friends. |
| bp_friends_random_members() |
Pull up a group of random members, and display some profile data about them. |
| bp_friends_register_widgets() |
Register the friends widget. |
| bp_friends_remove_notifications_data() |
Remove connection requests FROM user, used primarily when a user is deleted. |
| bp_friends_root_slug() |
Output the friends component root slug. |
| bp_friends_slug() |
Output the friends component slug. |
| bp_generate_rewrite_rules() |
Fire the ‘bp_generate_rewrite_rules’ action, where BP generates its rewrite rules. |
| bp_get_activate_slug() |
Return the activation slug. |
| bp_get_activation_page() |
Get the URL of the activation page. |
| bp_get_active_group_types() |
Get all active group types. |
| bp_get_active_member_types() |
Get all profile types. |
| bp_get_activities_member_rss_link() |
Return the member activity feed link. |
| bp_get_activities_no_activity() |
Get text when there is no activity |
| bp_get_activities_title() |
Return the activities title. |
| bp_get_activity_action() |
Return the activity action. |
| bp_get_activity_action_name() |
Return the activity type. |
| bp_get_activity_avatar() |
Return the avatar of the user that performed the action. |
| bp_get_activity_comment_content() |
Return the content of the activity comment currently being displayed. |
| bp_get_activity_comment_css_class() |
Return the current activity comment’s CSS class. |
| bp_get_activity_comment_date_recorded() |
Return the formatted date_recorded for the activity comment currently being displayed. |
| bp_get_activity_comment_date_recorded_raw() |
Return the date_recorded for the activity comment currently being displayed. |
| bp_get_activity_comment_delete_link() |
Gets the ‘delete’ URL for the activity comment currently being displayed. |
| bp_get_activity_comment_form_action() |
Return the activity comment form action. |
| bp_get_activity_comment_form_nojs_display() |
Return the activity comment form no JavaScript display CSS. |