Contents
bp_loggedin_user_id()
Get the ID of the currently logged-in user.
Description
Return
(int) ID of the logged-in user.
Source
File: bp-core/bp-core-template.php
function bp_loggedin_user_id() { $bp = buddypress(); $id = !empty( $bp->loggedin_user->id ) ? $bp->loggedin_user->id : 0; /** * Filters the ID of the currently logged-in user. * * @since BuddyPress 1.0.0 * * @param int $id ID of the currently logged-in user. */ return (int) apply_filters( 'bp_loggedin_user_id', $id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.0 | Introduced. |
Related
Uses
Uses | Description |
---|---|
bp-loader.php: buddypress() |
The main function responsible for returning the one true BuddyBoss Instance to functions everywhere. |
bp-core/bp-core-template.php: bp_loggedin_user_id |
Filters the ID of the currently logged-in user. |
Used By | Description |
---|---|
bp-forums/activity.php: BBP_BuddyPress_Activity::activity_forums_scope() |
Set up activity arguments for use with the ‘forum’ scope. |
bp-search/classes/class-bp-search-albums.php: Bp_Search_Albums::sql() |
Prepare SQL query for albums search. |
bp-search/classes/class-bp-search-media.php: Bp_Search_Media::sql() |
Prepare SQL query for media search. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::get_threads_for_user() |
Get message threads. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::create_multiple_item() |
Invite multiple member to a group. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::create_multiple_item_permissions_check() |
Checks if a given request has access to invite a multiple member to a group. |
bp-activity/bp-activity-notifications.php: bp_activity_remove_screen_notifications_single_post() |
Mark notifications as read when a user visits an single post. |
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::bp_rest_default_menu() |
Get default dropdown navigation. |
bp-media/classes/class-bp-rest-media-endpoint.php: BP_REST_Media_Endpoint::bp_rest_check_privacy_restriction() |
Check user access based on the privacy for the single Media. |
bp-media/classes/class-bp-rest-media-albums-endpoint.php: BP_REST_Media_Albums_Endpoint::bp_rest_check_album_privacy_restriction() |
Check user access based on the privacy for the single album. |
bp-document/classes/class-bp-rest-document-folder-endpoint.php: BP_REST_Document_Folder_Endpoint::bp_rest_check_folder_privacy_restriction() |
Check user access based on the privacy for the single folder. |
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a document. |
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::get_document_current_user_permissions() |
Get document permissions based on current user. |
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::bp_rest_check_privacy_restriction() |
Check user access based on the privacy for the single document. |
bp-document/classes/class-bp-rest-document-folder-endpoint.php: BP_REST_Document_Folder_Endpoint::create_item_permissions_check() |
Check if a given request has access to create a folder. |
bp-document/classes/class-bp-rest-document-folder-endpoint.php: BP_REST_Document_Folder_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a document. |
bp-document/classes/class-bp-rest-document-folder-endpoint.php: BP_REST_Document_Folder_Endpoint::folder_tree_items() |
Retrieve document folder tree. |
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::get_items_permissions_check() |
Checks if a given request has access to get all users. |
bp-document/classes/class-bp-rest-document-endpoint.php: BP_REST_Document_Endpoint::create_item_permissions_check() |
Check if a given request has access to create a document. |
bp-messages/bp-messages-filters.php: bp_messages_admin_repair_unread_messages_count() |
Repair unread messages count. |
bp-integrations/learndash/library/SyncGenerator.php: SyncGenerator::syncBeforeBpMember() |
Check before Sync a bp member to ld |
bp-groups/classes/class-bp-rest-groups-details-endpoint.php: BP_REST_Groups_Details_Endpoint::bp_rest_legacy_get_groups_directory_nav_items() |
Legacy template group directory navigation support added. |
bp-document/classes/class-bp-document.php: BP_Document::get_document_data() |
Convert document IDs to document objects, as expected in template loop. |
bp-document/classes/class-bp-document.php: BP_Document::get_folder_data() |
Convert document IDs to document objects, as expected in template loop. |
bp-document/classes/class-bp-document-folder-template.php: BP_Document_Folder_Template::__construct() |
Constructor method. |
bp-document/classes/class-bp-document-privacy.php: BP_Document_Privacy::is_document_visible() |
Check if document is visible or not to the logged in user |
bp-document/classes/class-bp-document-template.php: BP_Document_Template::__construct() |
Constructor method. |
bp-document/bp-document-template.php: bp_folder_user_can_delete() |
Determine if the current user can delete an folder item. |
bp-document/bp-document-template.php: bp_folder_user_can_edit() |
Determine if the current user can edit an folder item. |
bp-document/bp-document-template.php: bp_document_user_can_delete() |
Determine if the current user can delete an document item. |
bp-document/bp-document-template.php: bp_document_user_can_edit() |
Determine if the current user can edit an document item. |
bp-document/bp-document-functions.php: bp_document_user_can_manage_folder() |
Check user have a permission to manage the folder. |
bp-document/bp-document-functions.php: bp_document_user_can_manage_document() |
Check user have a permission to manage the document. |
bp-document/bp-document-functions.php: bp_folder_add() |
Add folder item. |
bp-document/bp-document-functions.php: bp_document_add() |
Add an document item. |
bp-document/bp-document-functions.php: bp_document_get_total_document_count() |
Get the document count of a given user. |
bp-document/bp-document-filters.php: bp_members_filter_document_public_scope() |
Set up document arguments for use with the ‘public’ scope. |
bp-document/bp-document-filters.php: bp_members_filter_folder_public_scope() |
Set up document arguments for use with the ‘public’ scope. |
bp-document/bp-document-filters.php: bp_document_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php: BP_REST_XProfile_Update_Endpoint::update_items() |
Update XProfile. |
bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php: BP_REST_XProfile_Update_Endpoint::update_items_permissions_check() |
Check if a given request has access to update a XProfile update. |
bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php: BP_REST_XProfile_Fields_Endpoint::get_collection_params() |
Get the query params for the XProfile fields. |
bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php: BP_REST_XProfile_Fields_Endpoint::get_repeater_fields_data() |
Get Repeater field data. |
bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php: BP_REST_XProfile_Field_Groups_Endpoint::get_collection_params() |
Get the query params for XProfile field groups. |
bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php: BP_REST_XProfile_Data_Endpoint::can_see() |
Can this user see the XProfile data? |
bp-templates/bp-nouveau/includes/document/ajax.php: bp_nouveau_ajax_document_get_folder_view() | |
bp-templates/bp-nouveau/includes/document/functions.php: bp_nouveau_document_localize_scripts() |
Localize the strings needed for the messages UI |
bp-templates/bp-nouveau/includes/document/ajax.php: bp_nouveau_ajax_document_get_activity() |
Get activity for the document. |
bp-templates/bp-nouveau/includes/document/ajax.php: bp_nouveau_ajax_document_get_document_description() |
Get description for the document. |
bp-templates/bp-nouveau/includes/document/ajax.php: bp_nouveau_ajax_document_folder_save() |
Save folder |
bp-templates/bp-nouveau/includes/document/ajax.php: bp_nouveau_ajax_document_child_folder_save() | |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_get_thread_messages() |
messages for each thread. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_hide_thread() | |
bp-templates/bp-nouveau/includes/media/ajax.php: bp_nouveau_ajax_media_get_media_description() |
Get description for the media. |
bp-templates/bp-nouveau/includes/activity/template-tags.php: bp_nouveau_activity_description() |
Fetch and update the media description. |
bp-templates/bp-nouveau/includes/activity/template-tags.php: bp_nouveau_document_activity_description() |
Fetch and update the document description. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_nouveau_ajax_groups_get_group_members_listing() |
Retrieve the possible members list to send group message. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_nouveau_ajax_groups_send_message() |
Send group message to group members. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_groups_messages_new_message() |
Create New Group Message. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::get_general_fields() |
Get Fields for the General “Login Information”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::get_notifications_fields() |
Get Fields for the Notifications “Email Preferences”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::get_profile_fields() |
Get Fields for the Profile “Privacy”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::get_invites_fields() |
Get Fields for the Invites “Group Invites”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_export_fields() |
Update Export fields “Export Data”. |
bp-search/classes/class-bp-search-documents.php: Bp_Search_Documents::sql() | |
bp-search/classes/class-bp-search-folders.php: Bp_Search_Folders::sql() | |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::prepare_item_for_database() |
Prepare a notification for create or update. |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::can_see() |
Can this user see the notification? |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::get_item_schema() |
Get the notification schema, conforming to JSON Schema. |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::get_collection_params() |
Get the query params for the notifications collections. |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::get_items_permissions_check() |
Check if a given request has access to notification items. |
bp-messages/bp-messages-functions.php: bp_messages_get_avatars() |
Get Message thread avatars by thread id. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::delete_item() |
Delete a thread. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::prepare_item_for_database() |
Prepare a message for create. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::prepare_message_for_response() |
Prepares message data for the REST response. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::prepare_item_for_response() |
Prepares thread data for return as an object. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::get_endpoint_args_for_item_schema() |
Select the item schema arguments needed for the CREATABLE, EDITABLE and DELETABLE methods. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::get_collection_params() |
Get the query params for Messages collections. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::bp_rest_post_dispatch() |
Add Global header for the unread message count. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::bp_rest_messages_get_avatars() |
Get avatars for the messages thread. |
bp-messages/classes/class-bp-rest-group-messages-endpoint.php: BP_REST_Group_Messages_Endpoint::create_item() |
Init a Messages Thread or add a reply to an existing Thread. |
bp-messages/classes/class-bp-rest-group-messages-endpoint.php: BP_REST_Group_Messages_Endpoint::bp_rest_groups_messages_new_message() |
Create New Group Message. |
bp-messages/classes/class-bp-rest-messages-actions-endpoint.php: BP_REST_Messages_Actions_Endpoint::rest_hide_thread() |
Hide unhide message thread based on the logged in user. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::get_items_permissions_check() |
Check if a given request has access to thread items. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::search_thread_items() |
Search Existing thread by user and recipient for the message. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::update_item() |
Update metadata for one of the messages of the thread. |
bp-messages/classes/class-bp-rest-messages-endpoint.php: BP_REST_Messages_Endpoint::update_starred() |
Adds or removes the message from the current user’s starred box. |
bp-members/bp-members-filters.php: bp_members_filter_media_personal_scope() |
Set up media arguments for use with the ‘personal’ scope. |
bp-members/bp-members-filters.php: bp_members_filter_document_personal_scope() |
Set up media arguments for use with the ‘personal’ scope. |
bp-members/bp-members-filters.php: bp_members_filter_folder_personal_scope() |
Set up media arguments for use with the ‘personal’ scope. |
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::get_item() |
Retrieve member detail. |
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::bp_rest_get_displayed_user() |
Set current and display user with current user. |
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::bp_rest_legacy_get_members_directory_nav_items() |
Legacy template members directory navigation support added. |
bp-members/classes/class-bp-rest-members-endpoint.php: BP_REST_Members_Endpoint::delete_item() |
Deletes a single user. |
bp-members/classes/class-bp-rest-members-endpoint.php: BP_REST_Members_Endpoint::delete_item_permissions_check() |
Check if a given request has access to delete a member. |
bp-media/bp-media-template.php: bp_album_user_can_delete() |
Determine if the current user can delete an album item. |
bp-media/bp-media-template.php: bp_media_user_can_delete() |
Determine if the current user can delete an media item. |
bp-media/bp-media-functions.php: bp_media_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
bp-media/bp-media-functions.php: bp_media_user_can_manage_album() |
Check user have a permission to manage the album. |
bp-media/bp-media-functions.php: bp_media_query_privacy() |
Get list of privacy based on user and group. |
bp-media/bp-media-functions.php: bp_media_user_can_manage_media() |
Check user have a permission to manage the media. |
bp-media/bp-media-functions.php: bp_media_object_template_results_media_personal_scope() |
Object template results media personal scope. |
bp-media/bp-media-filters.php: bp_media_filter_public_scope() |
Set up media arguments for use with the ‘public’ scope. |
bp-media/bp-media-filters.php: bp_media_messages_save_group_data() |
Save group message meta. |
bp-media/bp-media-filters.php: bp_group_messages_delete_meta() |
Remove the meta if thread is deleted. |
bp-media/classes/class-bp-rest-media-endpoint.php: BP_REST_Media_Endpoint::get_items_permissions_check() |
Checks if a given request has access to get all users. |
bp-media/classes/class-bp-rest-media-endpoint.php: BP_REST_Media_Endpoint::create_item_permissions_check() |
Check if a given request has access to create a media. |
bp-media/classes/class-bp-rest-media-endpoint.php: BP_REST_Media_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a media. |
bp-media/classes/class-bp-rest-media-albums-endpoint.php: BP_REST_Media_Albums_Endpoint::get_items() |
Retrieve Albums. |
bp-media/classes/class-bp-rest-media-albums-endpoint.php: BP_REST_Media_Albums_Endpoint::create_item_permissions_check() |
Check if a given request has access to create a media. |
bp-media/classes/class-bp-rest-media-albums-endpoint.php: BP_REST_Media_Albums_Endpoint::update_item_permissions_check() |
Checks if a given request has access to for the user. |
bp-invites/classes/class-bp-rest-invites-endpoint.php: BP_REST_Invites_Endpoint::get_invite_profile_type() |
Sent Invites Profile Type. |
bp-invites/classes/class-bp-rest-invites-endpoint.php: BP_REST_Invites_Endpoint::create_item() |
Create an Invites/Send Invites. |
bp-integrations/learndash/core/Core.php: Core::setup_nav() |
Add Course tab in profile menu |
bp-groups/bp-groups-functions.php: groups_get_membership_requested_group_ids() |
Get an array of group IDs to which a user has requested membership. |
bp-groups/bp-groups-functions.php: groups_get_invited_to_group_ids() |
Get an array of group IDs to which a user is invited. |
bp-groups/bp-groups-filters.php: bp_groups_filter_document_scope() |
Set up document arguments for use with the ‘groups’ scope. |
bp-groups/bp-groups-filters.php: bp_groups_filter_folder_scope() | |
bp-groups/bp-groups-filters.php: bp_groups_filter_media_scope() |
Set up media arguments for use with the ‘groups’ scope. |
bp-groups/classes/class-bp-rest-group-settings-endpoint.php: BP_REST_Group_Settings_Endpoint::get_settings_fields() |
Get Group Settings. |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::prepare_item_for_response() |
Prepares group data for return as an object. |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::prepare_item_for_database() |
Prepare a group for create or update. |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::can_user_delete_or_update() |
See if user can delete or update a group. |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::can_see() |
Can a user see a group? |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::can_see_hidden_groups() |
Can this user see hidden groups? |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::get_item_schema() |
Get the group schema, conforming to JSON Schema. |
bp-groups/classes/class-bp-rest-groups-endpoint.php: BP_REST_Groups_Endpoint::bp_rest_get_sub_groups() |
Get sub groups id. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::create_item_permissions_check() |
Checks if a given request has access to make a group membership request. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::update_item_permissions_check() |
Checks if a given request has access to accept a group membership request. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::delete_item() |
Reject a pending group membership request. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::delete_item_permissions_check() |
Checks if a given request has access to reject a group membership request. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::get_endpoint_args_for_item_schema() |
Endpoint args. |
bp-groups/classes/class-bp-rest-groups-details-endpoint.php: BP_REST_Groups_Details_Endpoint::get_item() |
Retrieve groups detail. |
bp-groups/classes/class-bp-rest-groups-details-endpoint.php: BP_REST_Groups_Details_Endpoint::bp_rest_get_nav_count() |
Retrieve the count attribute for the current nav item. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::get_endpoint_args_for_item_schema() |
Edit the type of the some properties for the CREATABLE & EDITABLE methods. |
bp-groups/classes/class-bp-rest-group-membership-endpoint.php: BP_REST_Group_Membership_Endpoint::create_item_permissions_check() |
Checks if a given request has access to join a group. |
bp-groups/classes/class-bp-rest-group-membership-endpoint.php: BP_REST_Group_Membership_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a group member. |
bp-groups/classes/class-bp-rest-group-membership-endpoint.php: BP_REST_Group_Membership_Endpoint::delete_item_permissions_check() |
Check if a given request has access to delete a group member. |
bp-groups/classes/class-bp-rest-group-membership-endpoint.php: BP_REST_Group_Membership_Endpoint::get_endpoint_args_for_method() |
GET arguments for the endpoint’s CREATABLE, EDITABLE & DELETABLE methods. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::get_items() |
Fetch pending group membership requests. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::get_items_permissions_check() |
Check if a given request has access to fetch group membership requests. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::get_item_permissions_check() |
Check if a given request has access to fetch group membership request. |
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php: BP_REST_Group_Membership_Request_Endpoint::create_item() |
Request membership to a group. |
bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php: BP_REST_Attachments_Group_Avatar_Endpoint::create_item_permissions_check() |
Checks if a given request has access to upload a group avatar. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::get_items() |
Retrieve group invitations. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::get_items_permissions_check() |
Check if a given request has access to group invitations. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::get_item_permissions_check() |
Check if a given request has access to fetch group invitation. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::create_item() |
Invite a member to a group. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::create_item_permissions_check() |
Checks if a given request has access to invite a member to a group. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::update_item_permissions_check() |
Check if a given request has access to accept a group invitation. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::delete_item() |
Remove (reject/delete) a group invitation. |
bp-groups/classes/class-bp-rest-group-invites-endpoint.php: BP_REST_Group_Invites_Endpoint::delete_item_permissions_check() |
Check if a given request has access to delete a group invitation. |
bp-friends/bp-friends-filters.php: bp_friends_filter_media_scope() |
Set up media arguments for use with the ‘friends’ scope. |
bp-friends/bp-friends-filters.php: bp_friends_filter_document_scope() |
Set up media arguments for use with the ‘friends’ scope. |
bp-friends/bp-friends-filters.php: bp_friends_filter_folder_scope() |
Set up media arguments for use with the ‘friends’ scope. |
bp-friends/classes/class-bp-rest-friends-endpoint.php: BP_REST_Friends_Endpoint::create_item() |
Create a new friendship. |
bp-friends/classes/class-bp-rest-friends-endpoint.php: BP_REST_Friends_Endpoint::delete_items() |
Unfriend a friendship. |
bp-friends/classes/class-bp-rest-friends-endpoint.php: BP_REST_Friends_Endpoint::delete_item() |
Reject/withdraw friendship. |
bp-friends/classes/class-bp-rest-friends-endpoint.php: BP_REST_Friends_Endpoint::get_collection_params() |
Get the query params for friends collections. |
bp-friends/classes/class-bp-core-friends-widget.php: BP_Core_Friends_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
bp-core/classes/class-bp-rest-settings-endpoint.php: BP_REST_Settings_Endpoint::get_buddyboss_platform_settings() |
Get BuddyBoss Platform Settings. |
bp-core/compatibility/bp-incompatible-plugins-helper.php: bp_core_updated_flname_memberpress_buddypress() |
Add User meta as first and last name is update by BuddyBoss Platform itself |
bp-core/classes/class-bp-core-follow-follower-widget.php: BP_Core_Follow_Follower_Widget::widget() |
Displays the widget. |
bp-core/classes/class-bp-core-follow-follower-widget.php: BP_Core_Follow_Follower_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
bp-core/classes/class-bp-core-follow-following-widget.php: BP_Core_Follow_Following_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
bp-core/admin/bp-core-admin-tools.php: bp_admin_repair_nickname_value() | |
bp-activity/bp-activity-template.php: bp_activity_user_can_edit() |
Determine if the current user can edit an activity item. |
bp-activity/bp-activity-functions.php: bp_activity_default_scope() |
Get default scope for the activity |
bp-activity/bp-activity-filters.php: bp_activity_has_media_activity_filter() |
Filter the activities for document and media privacy |
bp-activity/bp-activity-filters.php: bp_activity_new_at_mention_permalink() |
Generate permalink for comment mention notification. |
bp-activity/bp-activity-filters.php: bp_activity_filter_public_scope() |
Set up activity arguments for use with the ‘public’ scope. |
bp-activity/classes/class-bp-rest-activity-endpoint.php: BP_REST_Activity_Endpoint::can_see() |
Can this user see the activity? |
bp-activity/classes/class-bp-rest-activity-endpoint.php: BP_REST_Activity_Endpoint::bp_rest_activity_default_scope() |
Get default scope for the activity – from: bp_activity_default_scope(); |
bp-activity/classes/class-bp-rest-activity-details-endpoint.php: BP_REST_Activity_Details_Endpoint::bp_rest_legacy_get_activity_directory_nav_items() |
Legacy template activity directory navigation support added. |
bp-settings/actions/export.php: bp_settings_action_export() |
Handles the data export of a user. |
bp-forums/classes/class-bp-forums-component.php: BP_Forums_Component::setup_nav() |
Setup BuddyBar navigation |
bp-forums/notifications.php: bbp_buddypress_mark_notifications() |
Mark notifications as read when reading a topic |
bp-forums/functions.php: bbp_filter_user_id() |
Filter the current Forums user ID with the current BuddyBoss user ID |
bp-media/bp-media-functions.php: bp_album_add() |
Add album item. |
bp-media/bp-media-functions.php: albums_check_album_access() |
Check album access for current user or guest |
bp-media/bp-media-functions.php: bp_media_add() |
Add an media item. |
bp-media/classes/class-bp-media-privacy.php: BP_Media_Privacy::is_media_visible() |
Check if media is visible or not to the logged in user |
bp-media/classes/class-bp-media-template.php: BP_Media_Template::__construct() |
Constructor method. |
bp-media/classes/class-bp-media-album-template.php: BP_Media_Album_Template::__construct() |
Constructor method. |
bp-notifications/bp-notifications-functions.php: bp_notifications_get_unread_notification_count() |
Get a count of unread notification items for a user. |
bp-notifications/bp-notifications-functions.php: bp_notifications_get_all_notifications_for_user() |
Get all notifications for a user and cache them. |
bp-notifications/bp-notifications-functions.php: bp_notifications_get_grouped_notifications_for_user() |
Get a user’s unread notifications, grouped by component and action. |
bp-notifications/classes/class-bp-notifications-notification.php: BP_Notifications_Notification::get_current_notifications_for_user() |
Get unread notifications for a user, in a pagination-friendly format. |
bp-notifications/classes/class-bp-notifications-component.php: BP_Notifications_Component::setup_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-notifications/bp-notifications-template.php: bp_get_notifications_read_permalink() |
Return the read notifications permalink. |
bp-notifications/bp-notifications-template.php: bp_has_notifications() |
Initialize the notifications loop. |
bp-notifications/bp-notifications-adminbar.php: bp_notifications_toolbar_menu() |
Build the “Notifications” dropdown. |
bp-notifications/bp-notifications-template.php: bp_get_notifications_permalink() |
Return the notifications permalink. |
bp-notifications/bp-notifications-template.php: bp_get_notifications_unread_permalink() |
Return the unread notifications permalink. |
bp-blogs/bp-blogs-activity.php: bp_blogs_remove_post() |
Remove a blog post activity item from the activity feed. |
bp-blogs/bp-blogs-activity.php: bp_blogs_sync_add_from_activity_comment() |
Syncs activity comments and posts them back as blog comments. |
bp-blogs/bp-blogs-activity.php: bp_blogs_record_activity() |
Record blog-related activity to the activity feed. |
bp-blogs/bp-blogs-functions.php: bp_blogs_total_blogs_for_user() |
Get the total number of blogs being tracked by BP for a specific user. |
bp-blogs/bp-blogs-functions.php: bp_blogs_post_type_remove_comment() |
Remove a synced activity comment from the activity feed. |
bp-blogs/bp-blogs-functions.php: bp_blogs_comment_sync_activity_comment() |
Update Activity and blogs meta and eventually sync comment with activity comment |
bp-blogs/bp-blogs-functions.php: bp_blogs_record_blog() |
Make BuddyPress aware of a new site so that it can track its activity. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::total_blog_count_for_user() |
Return a count of associated blogs for a given user. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::get() |
Retrieve a set of blog-user associations. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::delete_blog_for_user() |
Delete the record of a given blog for a specific user. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::delete_blogs_for_user() |
Delete all of a user’s blog associations in the BP tables. |
bp-xprofile/bp-xprofile-activity.php: xprofile_record_activity() |
Records activity for the logged in user within the profile component so that it will show in the users activity feed (if installed). |
bp-xprofile/bp-xprofile-functions.php: bp_get_user_social_networks_urls() |
Add social networks button to the member header area. |
bp-xprofile/bp-xprofile-functions.php: bp_xprofile_get_hidden_fields_for_user() |
Get the ids of fields that are hidden for this displayed/loggedin user pair. |
bp-xprofile/bp-xprofile-functions.php: xprofile_override_user_fullnames() |
Replace the displayed and logged-in users fullnames with the xprofile name, if required. |
bp-xprofile/bp-xprofile-functions.php: bp_xprofile_bp_user_query_search() |
When search_terms are passed to BP_User_Query, search against xprofile fields. |
bp-xprofile/bp-xprofile-functions.php: xprofile_sync_wp_profile() |
Sync xprofile data to the standard built in WordPress profile data. |
bp-xprofile/bp-xprofile-template.php: bp_profile_get_field_groups() |
Get all profile field groups. |
bp-xprofile/bp-xprofile-repeaters.php: bp_xprofile_ajax_add_repeater_set() |
Adds a repeater set. |
bp-messages/bp-messages-filters.php: maybe_redirects_to_previous_thread_message() |
[maybe_redirects_to_previous_thread_message description] |
bp-messages/bp-messages-star.php: bp_get_the_message_star_action_link() |
Return the link or raw URL for starring or unstarring a message. |
bp-messages/bp-messages-filters.php: bp_messages_enforce_current_user() |
Enforce limitations on viewing private message contents |
bp-messages/classes/class-bp-messages-box-template.php: BP_Messages_Box_Template::__construct() |
Constructor method. |
bp-messages/classes/class-bp-messages-message.php: BP_Messages_Message::__construct() |
Constructor. |
bp-messages/classes/class-bp-messages-message.php: BP_Messages_Message::get_last_sent_for_user() |
Get the ID of the message last sent by the logged-in user for a given thread. |
bp-messages/classes/class-bp-messages-component.php: BP_Messages_Component::setup_admin_bar() |
Set up the Toolbar. |
bp-messages/classes/class-bp-messages-notice.php: BP_Messages_Notice::save() |
Saves a notice. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::delete() |
Mark messages in a thread as deleted or delete all messages in a thread. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::mark_as_read() |
Mark a thread as read. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::mark_as_unread() |
Mark a thread as unread. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::user_is_sender() |
Determine if the logged-in user is a sender of any message in a thread. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::get_inbox_count() |
Gets the unread message count for a user. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::check_access() |
Checks whether a user is a part of a message thread discussion. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::populate() |
Populate method. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::get_user_last_deleted_message() |
Get the user’s last deleted message in thread |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::is_thread_recipient() |
Check if the current user is in the thread’s active recipient list |
bp-messages/bp-messages-template.php: bp_get_the_thread_message_css_class() |
Generate the CSS classes for messages within a single thread. |
bp-messages/bp-messages-template.php: bp_get_thread_recipients_list() |
Generate HTML links to the profiles of recipients in the current thread. |
bp-messages/bp-messages-template.php: bp_message_get_notices() |
Generate markup for currently active notices. |
bp-messages/bp-messages-template.php: bp_get_the_message_thread_mark_read_url() |
Return the URL used for marking a single message thread as read. |
bp-messages/bp-messages-template.php: bp_get_the_message_thread_mark_unread_url() |
Return the URL used for marking a single message thread as unread. |
bp-messages/bp-messages-template.php: bp_get_message_thread_view_link() |
Get the permalink of a particular thread. |
bp-messages/bp-messages-template.php: bp_get_message_thread_delete_link() |
Generate the URL for deleting the current thread. |
bp-messages/bp-messages-template.php: bp_has_message_threads() |
Retrieve private message threads for display in inbox/sentbox/notices. |
bp-messages/bp-messages-functions.php: messages_new_message() |
Create a new message. |
bp-messages/bp-messages-functions.php: messages_delete_thread() |
Deletes message thread(s) for a given user. |
bp-messages/bp-messages-notifications.php: bp_messages_screen_conversation_mark_notifications() |
Mark new message notification when member reads a message thread directly. |
bp-messages/bp-messages-notifications.php: bp_messages_mark_notification_on_mark_thread() |
Mark new message notification as read when the corresponding message is mark read. |
bp-groups/bp-groups-admin.php: bp_groups_admin_process_group_type_bulk_changes() |
Process input from the Group Type bulk change select. |
bp-groups/bp-groups-admin.php: bp_groups_admin_edit_metabox_group_parent() |
Markup for the single group’s Group Hierarchy metabox. |
bp-groups/screens/user/invites.php: groups_screen_group_invites() |
Handle the loading of a user’s Groups > Invites page. |
bp-groups/actions/join.php: groups_action_join_group() |
Catch and process “Join Group” button clicks. |
bp-groups/screens/single/request-membership.php: groups_screen_group_request_membership() |
Handle the display of a group’s Request Membership page. |
bp-groups/actions/create.php: groups_action_create_group() |
Catch and process group creation form submissions. |
bp-groups/actions/leave-group.php: groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
bp-groups/classes/class-bp-group-extension.php: BP_Group_Extension::user_meets_access_condition() |
Check whether the current user meets an access condition. |
bp-groups/classes/class-bp-groups-list-table.php: BP_Groups_List_Table::add_group_type_bulk_change_select() |
Markup for the Group Type bulk change select. |
bp-groups/classes/class-bp-groups-template.php: BP_Groups_Template::__construct() |
Constructor method. |
bp-groups/classes/class-bp-groups-invite-template.php: BP_Groups_Invite_Template::__construct() |
BP_Groups_Invite_Template constructor. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_all_for_group() |
Get members of a group. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_recently_joined() |
Get the IDs of the groups of which a specified user is a member, sorted by the date joined. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_is_admin_of() |
Get the IDs of the groups of which a specified user is an admin. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_is_mod_of() |
Get the IDs of the groups of which a specified user is a moderator. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_is_banned_of() |
Get the groups of which a specified user is banned from. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::total_group_count() |
Get the count of groups of which the specified user is a member. |
bp-groups/classes/class-bp-groups-member.php: BP_Groups_Member::get_group_ids() |
Get the IDs of the groups of which a specified user is a member. |
bp-groups/classes/class-bp-groups-group.php: BP_Groups_Group::get_group_extras() |
Fetch extra data for a list of groups. |
bp-groups/classes/class-bp-groups-group.php: BP_Groups_Group::get() |
Query for groups. |
bp-groups/classes/class-bp-groups-group.php: BP_Groups_Group::get_is_member() |
Checks whether the logged-in user is a member of the group. |
bp-groups/classes/class-bp-groups-group.php: BP_Groups_Group::__get() |
Magic getter. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_globals() |
Set up component global data. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_nav() |
Set up component navigation. |
bp-groups/bp-groups-functions.php: groups_send_invites() |
Send all pending invites by a single user to a specific group. |
bp-groups/bp-groups-functions.php: groups_get_invites_for_user() |
Get IDs of users with outstanding invites to a given group from a specified user. |
bp-groups/bp-groups-functions.php: groups_get_invite_count_for_user() |
Get the total group invite count for a user. |
bp-groups/bp-groups-functions.php: groups_invite_user() |
Invite a user to a group. |
bp-groups/bp-groups-functions.php: groups_post_update() |
Post an Activity status update affiliated with a group. |
bp-groups/bp-groups-functions.php: groups_total_groups_for_user() |
Get the count of groups of which the specified user is a member. |
bp-groups/bp-groups-functions.php: groups_leave_group() |
Remove a user from a group. |
bp-groups/bp-groups-functions.php: groups_join_group() |
Add a user to a group. |
bp-groups/bp-groups-activity.php: bp_groups_group_details_updated_add_activity() |
Add an activity item when a group’s details are updated. |
bp-groups/bp-groups-functions.php: groups_create_group() |
Create a group. |
bp-groups/bp-groups-activity.php: bp_groups_filter_activity_scope() |
Set up activity arguments for use with the ‘groups’ scope. |
bp-groups/bp-groups-activity.php: groups_record_activity() |
Record an activity item related to the Groups component. |
bp-groups/bp-groups-activity.php: bp_groups_filter_activity_can_comment() |
Function used to determine if a user can comment on a group activity item. |
bp-groups/bp-groups-template.php: bp_group_has_invites() |
Whether or not there are invites. |
bp-groups/bp-groups-template.php: bp_get_new_group_invite_friend_list() |
Return a list of friends who can be invited to a group |
bp-groups/bp-groups-template.php: bp_has_friends_to_invite() |
Determine whether the current user has friends to invite to a group. |
bp-groups/bp-groups-template.php: bp_get_group_join_button() |
Return button to join a group. |
bp-groups/bp-groups-template.php: bp_group_is_member_allowed_posting() |
Check if current user is allowed to post in a group. |
bp-groups/bp-groups-template.php: bp_group_is_user_banned() |
Check if a user is banned from a group. |
bp-groups/bp-groups-template.php: bp_group_has_requested_membership() |
Determine whether the logged-in user has requested membership to a group. |
bp-groups/bp-groups-template.php: bp_get_possible_parent_groups() |
Get an array of possible parent group ids for a specific group and user. |
bp-groups/bp-groups-template.php: bp_groups_user_can_send_invites() |
Can a user send invitations in the specified group? |
bp-groups/bp-groups-template.php: bp_is_group_creator() |
Determine whether a user is the creator of the current group in the loop. |
bp-groups/bp-groups-template.php: bp_has_groups() |
Start the Groups Template Loop. |
bp-groups/bp-groups-filters.php: bp_groups_user_can_filter() |
Filter the bp_user_can value to determine what the user can do with regards to a specific group. |
bp-groups/bp-groups-notifications.php: bp_groups_screen_invites_mark_notifications() |
Mark group invitation notifications read when a member views their invitations. |
bp-groups/bp-groups-notifications.php: bp_groups_screen_group_admin_requests_mark_notifications() |
Mark group join requests read when an admin or moderator visits the group administration area. |
bp-groups/bp-groups-notifications.php: bp_groups_screen_my_groups_mark_notifications() |
Mark notifications read when a member views their group memberships. |
bp-members/bp-members-functions.php: bp_allow_user_to_send_invites() |
Show/Hide Email Invites tab in user profile navigation if member type enabled and restrict member type via BuddyBoss > Settings > Invites > Allowed Profile Type. |
bp-members/bp-members-functions.php: bp_stop_live_spammer() |
Stop a logged-in user who is marked as a spammer. |
bp-members/bp-members-functions.php: bp_core_delete_account() |
Process account deletion requests. |
bp-members/bp-members-functions.php: bp_is_user_spammer() |
Check whether a user has been marked as a spammer. |
bp-members/bp-members-functions.php: bp_is_user_deleted() |
Check whether a user has been marked as deleted. |
bp-members/bp-members-functions.php: bp_is_user_active() |
Check whether a user is “active”, ie neither deleted nor spammer. |
bp-members/bp-members-functions.php: bp_is_user_inactive() |
Check whether user is not active. |
bp-members/bp-members-functions.php: bp_update_user_last_activity() |
Update a user’s last activity. |
bp-members/bp-members-functions.php: bp_core_get_user_displayname() |
Fetch the display name for a user. |
bp-members/classes/class-bp-members-admin.php: BP_Members_Admin::users_table_output_type_change_select() |
Display a dropdown to bulk change the profile type of selected user(s). |
bp-members/classes/class-bp-members-admin.php: BP_Members_Admin::users_table_process_bulk_type_change() |
Process bulk profile type change submission from the WP admin users list table. |
bp-members/classes/class-bp-members-admin.php: BP_Members_Admin::process_member_type_update() |
Process changes from the profile type metabox. |
bp-members/classes/class-bp-core-whos-online-widget.php: BP_Core_Whos_Online_Widget::widget() |
Display the Who’s Online widget. |
bp-members/classes/class-bp-core-whos-online-widget.php: bp_get_total_online_member_count() |
Get total number of members currently online. |
bp-members/classes/class-bp-core-whos-online-widget.php: buddyboss_theme_whos_online_widget_heartbeat() |
Periodically update total number of members online for who’s online widget. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_globals() |
Set up bp-members global settings. |
bp-members/bp-members-template.php: bp_get_loggedin_user_username() |
Get the username of the logged-in user. |
bp-members/bp-members-template.php: bp_get_loggedin_user_avatar() |
Get the logged-in user’s avatar. |
bp-members/bp-members-template.php: bp_get_loggedin_user_nav() |
Render the navigation markup for the logged-in user. |
bp-members/bp-members-template.php: bp_get_member_name() |
Get the display name of the current member in the loop. |
bp-members/bp-members-template.php: bp_member_is_loggedin_user() |
Check whether the current member in the loop is the logged-in user. |
bp-members/bp-members-template.php: bp_get_member_class() |
Return the row class of the current member in the loop. |
bp-invites/bp-invites-admin.php: bp_invite_show_data() |
Display data by column and post id. |
bp-invites/bp-invites-functions.php: bp_get_member_invites_wildcard_replace() |
Replaces the token, {{ }}, to it’s appropriate content dynamically. |
bp-invites/actions/invites.php: bp_member_invite_submit() |
Member submit email invite. |
bp-friends/bp-friends-activity.php: friends_record_activity() |
Record an activity item related to the Connections component. |
bp-friends/bp-friends-activity.php: bp_friends_filter_activity_scope() |
Set up activity arguments for use with the ‘friends’ scope. |
bp-friends/bp-friends-activity.php: bp_friends_filter_activity_just_me_scope() |
Set up activity arguments for use with the ‘just-me’ scope. |
bp-friends/bp-friends-functions.php: friends_get_friends_invite_list() |
Get a list of friends that a user can invite into this group. |
bp-friends/bp-friends-functions.php: friends_get_total_friend_count() |
Get the friend count of a given user. |
bp-friends/actions/add-friend.php: friends_action_add_friend() |
Catch and process connection requests. |
bp-friends/actions/remove-friend.php: friends_action_remove_friend() |
Catch and process Remove Connection requests. |
bp-friends/screens/requests.php: friends_screen_requests() |
Catch and process the Requests page. |
bp-friends/bp-friends-filters.php: bp_friends_filter_user_query_populate_extras() |
Filter BP_User_Query::populate_extras to add confirmed friendship status. |
bp-friends/bp-friends-widgets.php: bp_core_ajax_widget_friends() |
Process AJAX pagination or filtering for the Connections widget. |
bp-friends/bp-friends-template.php: bp_get_friend_reject_request_link() |
Return the URL for rejecting the current friendship request in the loop. |
bp-friends/bp-friends-template.php: bp_friend_get_total_requests_count() |
Return the total friendship request count for a given user. |
bp-friends/bp-friends-template.php: bp_get_friend_accept_request_link() |
Return the URL for accepting the current friendship request in the loop. |
bp-friends/bp-friends-template.php: bp_is_friend() |
Check whether a given user is a friend of the logged-in user. |
bp-friends/bp-friends-template.php: bp_get_friend_ids() |
Get a comma-separated list of IDs of a user’s friends. |
bp-friends/bp-friends-template.php: bp_get_mutual_friendships() |
Get a user’s mutual connections with logged in user. |
bp-friends/bp-friends-template.php: bp_get_friend_friendship_id() |
Return the ID of the friendship between the logged-in user and the current user in the loop. |
bp-friends/classes/class-bp-core-friends-widget.php: BP_Core_Friends_Widget::widget() |
Display the widget. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::get_friendships() |
Get the friendships for a given user. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::total_friend_count() |
Get a total friend count for a given user. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::search_friends() |
Search the friends of a user by a search string. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::accept() |
Mark a friendship as accepted. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::withdraw() |
Remove a connection or a connection request INITIATED BY the logged-in user. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::reject() |
Remove a connection or a connection request MADE OF the logged-in user. |
bp-friends/classes/class-bp-friends-component.php: BP_Friends_Component::setup_nav() |
Set up component navigation. |
bp-friends/classes/class-bp-friends-component.php: BP_Friends_Component::setup_admin_bar() |
Set up bp-friends integration with the WordPress admin bar. |
bp-friends/bp-friends-notifications.php: friends_clear_friend_notifications() |
Clear friend-related notifications when ?new=1 |
bp-friends/bp-friends-notifications.php: bp_friends_mark_friendship_request_notifications_by_type() |
Delete any friendship request notifications for the logged in user. |
bp-friends/bp-friends-notifications.php: bp_friends_mark_friendship_accepted_notifications_by_type() |
Delete any friendship acceptance notifications for the logged in user. |
bp-integrations/learndash/buddypress/components/BpGroupReports.php: BpGroupReports::showTabOnView() |
Determine who can see the tab |
bp-integrations/learndash/buddypress/Courses.php: Courses::showUserProgress() |
Output user course progress html |
bp-integrations/learndash/buddypress/Courses.php: Courses::showCourseButton() |
Output course link button html |
bp-integrations/learndash/buddypress/Courses.php: Courses::getUserCourseProgress() |
Get user’s course progress |
bp-integrations/learndash/buddypress/Reports.php: Reports::forceOwnReportResults() |
Only allow non admin/mod to view his own reports |
bp-integrations/learndash/buddypress/Reports.php: Reports::removeUserFilterIfStudent() |
Remove user filter is nond admin/mod are viewing reports tab |
bp-templates/bp-nouveau/includes/members/template-tags.php: bp_nouveau_get_members_buttons() |
Get the action buttons for the displayed user profile |
bp-templates/bp-nouveau/includes/members/functions.php: bp_nouveau_get_members_directory_nav_items() |
Get the nav items for the Members directory |
bp-templates/bp-nouveau/includes/members/functions.php: bp_nouveau_admin_bar_member_dashboard() |
Adds a ‘Dashbaord’ link in admin bar. |
bp-templates/bp-nouveau/includes/follow/ajax.php: bp_nouveau_ajax_followunfollow_member() |
Follow/Unfollow a user via a POST request. |
bp-templates/bp-nouveau/includes/friends/ajax.php: bp_nouveau_ajax_addremove_friend() |
Friend/un-friend a user via a POST request. |
bp-templates/bp-nouveau/includes/activity/ajax.php: bp_nouveau_ajax_mark_activity_favorite() |
Mark an activity as a favourite via a POST request. |
bp-templates/bp-nouveau/includes/activity/ajax.php: bp_nouveau_ajax_unmark_activity_favorite() |
Un-favourite an activity via a POST request. |
bp-templates/bp-nouveau/includes/activity/ajax.php: bp_nouveau_ajax_clear_new_mentions() |
Clear mentions if the directory tab is clicked |
bp-templates/bp-nouveau/includes/activity/ajax.php: bp_nouveau_ajax_get_activity_objects() |
Get items to attach the activity to. |
bp-templates/bp-nouveau/includes/activity/functions.php: bp_nouveau_activity_scope_newest_class() |
Add class to newest activities by type. |
bp-templates/bp-nouveau/includes/activity/functions.php: bp_nouveau_activity_localize_scripts() |
Localize the strings needed for the Activity Post form UI |
bp-templates/bp-nouveau/includes/activity/functions.php: bp_nouveau_get_activity_directory_nav_items() |
Get activity directory navigation menu items. |
bp-templates/bp-nouveau/includes/media/ajax.php: bp_nouveau_ajax_media_album_save() |
Save album |
bp-templates/bp-nouveau/includes/media/ajax.php: bp_nouveau_ajax_media_get_activity() |
Get activity for the media |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_search_recipients_exclude_non_friend() |
Exclude members from messages suggestions list if require users to be connected before they can message each other |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_messages_send_message() |
AJAX send message and display error. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_messages_send_reply() |
AJAX send message reply and display error. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_get_user_message_threads() |
AJAX get all user message threads. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_messages_thread_read() |
AJAX mark message as read. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_get_thread_messages() |
AJAX get messages for each thread. |
bp-templates/bp-nouveau/includes/messages/ajax.php: bp_nouveau_ajax_dismiss_sitewide_notice() |
AJAX dismiss sitewide notice. |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_push_sitewide_notices() |
Add active sitewide notices to the BP template_message global. |
bp-templates/bp-nouveau/includes/groups/classes.php: BP_Nouveau_Customizer_Group_Nav::setup_nav() |
Setup a temporary nav with only the needed parameters. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_nouveau_ajax_joinleave_group() |
Join or leave a group when clicking the “join/leave” button via a POST request. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_nouveau_ajax_get_users_to_invite() |
AJAX get list of members to invite to group. |
bp-templates/bp-nouveau/includes/groups/ajax.php: bp_nouveau_ajax_remove_group_invite() |
AJAX remove group invite. |
bp-templates/bp-nouveau/includes/groups/functions.php: bp_nouveau_get_groups_directory_nav_items() |
Get group directory navigation menu items. |
bp-templates/bp-nouveau/includes/groups/functions.php: bp_nouveau_prepare_group_potential_invites_for_js() |
Prepare list of group invites for JS. |
bp-templates/bp-nouveau/includes/blogs/functions.php: bp_nouveau_get_blogs_directory_nav_items() |
Get blog directory navigation menu items. |
bp-templates/bp-nouveau/includes/template-tags.php: bp_nouveau_get_nav_count() |
Retrieve the count attribute for the current nav item. |
bp-templates/bp-nouveau/includes/template-tags.php: bp_nouveau_nav_has_count() |
Checks if the nav item has a count attribute. |
bp-templates/bp-nouveau/includes/ajax.php: bp_nouveau_object_template_results_members_personal_scope() |
Object template results members personal scope. |
bp-templates/bp-nouveau/includes/ajax.php: bp_nouveau_object_template_results_members_following_scope() |
Object template results members following scope. |
bp-templates/bp-nouveau/includes/ajax.php: bp_nouveau_object_template_results_groups_personal_scope() |
Object template results members groups personal scope. |
bp-templates/bp-nouveau/includes/ajax.php: bp_nouveau_ajax_object_template_loader() |
Load the template loop for the current object. |
bp-templates/bp-nouveau/includes/functions.php: bp_nouveau_ajax_querystring() |
This function looks scarier than it actually is. 🙂 Each object loop (activity/members/groups/blogs/forums) contains default parameters to show specific information based on the page we are currently looking at. |
bp-templates/bp-nouveau/includes/functions.php: bp_nouveau_current_user_can() |
Check if logged in user has queried capability. |
bp-search/classes/class-bp-search-activity-comments.php: Bp_Search_Activity_Comment::sql() | |
bp-search/classes/class-bp-search-members.php: Bp_Search_Members::sql() |
Generates sql for members search. |
bp-search/classes/class-bp-search-activities.php: Bp_Search_Activities::sql() | |
bp-search/classes/class-bp-search-groups.php: Bp_Search_Groups::sql() | |
bp-core/admin/bp-core-admin-components.php: bp_core_admin_components_settings_handler() |
Handle saving the Component settings. |
bp-core/admin/bp-core-admin-components.php: bp_core_admin_components_activation_handler() |
Handle saving the Component settings. |
bp-core/admin/bp-core-admin-functions.php: bp_core_admin_create_background_page() |
Catch and process an admin directory page. |
bp-core/admin/bp-core-admin-functions.php: bp_core_admin_user_row_actions() |
Add “Mark as Spam/Ham” button to user row actions. |
bp-core/admin/bp-core-admin-functions.php: bp_do_activation_redirect() |
Redirect user to BuddyPress’s What’s New page on activation. |
bp-core/admin/bp-core-admin-settings.php: bp_admin_setting_callback_heartbeat() |
Allow Heartbeat to refresh activity stream. |
bp-core/bp-core-update.php: bp_add_activation_redirect() |
Redirect user to BP’s What’s New page on first page load after activation. |
bp-core/deprecated/buddypress/2.1.php: bp_notifications_buddybar_menu() |
Create the Notifications menu for the BuddyBar. |
bp-core/deprecated/buddypress/2.1.php: bp_adminbar_blogs_menu() |
Add a Sites menu to the BuddyBar. |
bp-core/deprecated/buddyboss/1.0.php: bp_nouveau_member_description() |
Display the Member description making sure linefeeds are taking in account |
bp-core/bp-core-template.php: bp_is_my_profile() |
Is the current page part of the profile of the logged-in user? |
bp-core/bp-core-template.php: bp_word_or_name() |
Select between two dynamic strings, according to context. |
bp-core/profile-search/bps-search.php: bp_ps_search() |
Returns BuddyBoss Profile Search results. |
bp-core/classes/class-bp-core-login-widget.php: BP_Core_Login_Widget::widget() |
Display the login widget. |
bp-core/classes/class-bp-button.php: BP_Button::__construct() |
Builds the button based on class parameters. |
bp-core/classes/class-bp-core-follow-following-widget.php: BP_Core_Follow_Following_Widget::widget() |
Displays the widget. |
bp-core/classes/class-bp-core-user.php: BP_Core_User::get_user_extras() |
Fetch extra user information, such as friend count and last profile update message. |
bp-core/bp-core-functions.php: bp_check_member_send_invites_tab_member_type_allowed() |
Check if logged in member type is allowed to send invites |
bp-core/bp-core-functions.php: bp_core_record_activity() |
Listener function for the logged-in user’s ‘last_activity’ metadata. |
bp-core/bp-core-attachments.php: bp_attachments_cover_image_ajax_upload() |
Ajax Upload and set a cover photo |
bp-core/bp-core-attachments.php: bp_attachments_current_user_can() |
Check the current user’s capability to edit an avatar for a given object. |
bp-core/bp-core-attachments.php: bp_attachments_cover_image_upload_dir() |
Gets the upload dir array for cover photos. |
bp-core/bp-core-attachments.php: bp_attachments_get_attachment() |
Get the url or the path for a type of attachment. |
bp-core/bp-core-catchuri.php: bp_login_redirector() |
Login redirector. |
bp-activity/bp-activity-functions.php: bp_total_follow_counts() |
Get the total followers and total following counts for a user. |
bp-activity/bp-activity-functions.php: bp_start_following() |
Start following a user’s activity. |
bp-activity/bp-activity-functions.php: bp_stop_following() |
Stop following a user’s activity. |
bp-activity/bp-activity-functions.php: bp_is_following() |
Check if a user is already following another user. |
bp-activity/bp-activity-functions.php: bp_activity_user_can_read() |
Can a user see a particular activity item? |
bp-activity/bp-activity-functions.php: bp_activity_new_comment() |
Add an activity comment. |
bp-activity/bp-activity-functions.php: bp_activity_delete() |
Delete activity item(s). |
bp-activity/bp-activity-functions.php: bp_activity_add() |
Add an activity item. |
bp-activity/bp-activity-functions.php: bp_activity_post_update() |
Post an activity update. |
bp-activity/bp-activity-functions.php: bp_activity_total_favorites_for_user() |
Retrieve the number of favorite activity feed items a user has. |
bp-activity/bp-activity-functions.php: bp_activity_add_user_favorite() |
Add an activity feed item as a favorite for a user. |
bp-activity/bp-activity-functions.php: bp_activity_remove_user_favorite() |
Remove an activity feed item as a favorite for a user. |
bp-activity/bp-activity-functions.php: bp_activity_get_favorite_users_string() |
Get like count for activity |
bp-activity/bp-activity-notifications.php: bp_activity_remove_screen_notifications() |
Mark at-mention notifications as read when users visit their Mentions page. |
bp-activity/bp-activity-notifications.php: bp_activity_remove_screen_notifications_single_activity_permalink() |
Mark notifications as read when a user visits an activity permalink. |
bp-activity/bp-activity-notifications.php: bp_activity_remove_screen_notifications_for_non_mentions() |
Mark non-mention notifications as read when user visits our read permalink. |
bp-activity/screens/mentions.php: bp_activity_reset_my_new_mentions() |
Reset the logged-in user’s new mentions data when he visits his mentions screen. |
bp-activity/bp-activity-filters.php: bp_activity_has_activity_filter() |
Filter the activities of friends privacy |
bp-activity/bp-activity-filters.php: bp_activity_filter_mentions_scope() |
Set up activity arguments for use with the ‘favorites’ scope. |
bp-activity/bp-activity-filters.php: bp_add_member_follow_scope_filter() |
Filter the members loop on a follow page. |
bp-activity/bp-activity-filters.php: bp_users_filter_activity_following_scope() |
Set up activity arguments for use with the ‘following’ scope. |
bp-activity/bp-activity-filters.php: bp_activity_display_all_types_on_just_me() |
Returns $args to force display of all member activity types on members activity feed. |
bp-activity/bp-activity-filters.php: bp_activity_filter_just_me_scope() |
Set up activity arguments for use with the ‘just-me’ scope. |
bp-activity/bp-activity-filters.php: bp_activity_filter_favorites_scope() |
Set up activity arguments for use with the ‘favorites’ scope. |
bp-activity/classes/class-bp-activity-component.php: BP_Activity_Component::setup_globals() |
Set up component global variables. |
bp-activity/classes/class-bp-activity-component.php: BP_Activity_Component::setup_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-activity/classes/class-bp-activity-template.php: BP_Activity_Template::__construct() |
Constructor method. |
bp-activity/classes/class-bp-akismet.php: BP_Akismet::update_activity_history() |
Update an activity item’s Akismet history. |
bp-activity/classes/class-bp-akismet.php: BP_Akismet::add_activity_stream_nonce() |
Generate nonces for activity forms. |
bp-activity/classes/class-bp-activity-follow.php: BP_Activity_Follow::bulk_check_follow_status() |
Bulk check the follow status for a user against a list of user IDs. |
bp-activity/classes/class-bp-activity-list-table.php: BP_Activity_List_Table::get_activity_user_id() |
Get the user id associated with a given activity item. |
bp-activity/bp-activity-template.php: bp_activity_user_can_delete() |
Determine if the current user can delete an activity item. |
bp-activity/bp-activity-template.php: bp_has_activities() |
Initialize the activity loop. |
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.