bp_displayed_user_id()
Get the ID of the currently displayed user.
Return #Return
(int) $id ID of the currently displayed user.
Source #Source
File: bp-core/bp-core-template.php
function bp_displayed_user_id() { $bp = buddypress(); $id = !empty( $bp->displayed_user->id ) ? $bp->displayed_user->id : 0; /** * Filters the ID of the currently displayed user. * * @since 1.0.0 * * @param int $id ID of the currently displayed user. */ return (int) apply_filters( 'bp_displayed_user_id', $id ); }
Expand full source code Collapse full source code View on Trac
Related #Related
Uses #Uses
Uses | Description |
---|---|
bp-core/bp-core-template.php: bp_displayed_user_id |
Filters the ID of the currently displayed user. |
bp-loader.php: buddypress() |
The main function responsible for returning the one true BuddyPress Instance to functions everywhere. |
Used By #Used By
Used By | Description |
---|---|
bp-core/bp-core-catchuri.php: bp_core_set_uri_globals() |
Analyze the URI and break it down into BuddyPress-usable chunks. |
bp-core/bp-core-avatars.php: bp_get_user_has_avatar() |
Check if a given user ID has an uploaded avatar. |
bp-core/bp-core-avatars.php: bp_core_delete_existing_avatar() |
Delete an existing avatar. |
bp-core/bp-core-avatars.php: bp_avatar_ajax_upload() |
Ajax upload an avatar. |
bp-core/bp-core-avatars.php: bp_core_fetch_avatar() |
Get an avatar for a BuddyPress object. |
bp-core/classes/class-bp-attachment-avatar.php: BP_Attachment_Avatar::get_user_id() |
Get the user id to set its avatar. |
bp-core/classes/class-bp-core-nav.php: BP_Core_Nav::__construct() |
Initializes the Nav belonging to the specified object. |
bp-core/classes/class-bp-attachment-cover-image.php: BP_Attachment_Cover_Image::script_data() |
Build script datas for the Uploader UI. |
bp-core/deprecated/3.0.php: bp_core_action_set_spammer_status() |
Catch a “Mark as Spammer/Not Spammer” click from the toolbar. |
bp-core/deprecated/3.0.php: bp_core_action_delete_user() |
Process user deletion requests. |
bp-core/deprecated/1.5.php: bp_core_get_wp_profile() | |
bp-core/bp-core-template.php: bp_get_the_body_class() |
Customize the body class, according to the currently displayed BP content. |
bp-core/bp-core-template.php: bp_is_user() |
Is the current page a user page? |
bp-core/bp-core-template.php: bp_is_activity_directory() |
Is the current page the activity directory? |
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/bp-core-attachments.php: bp_attachments_cover_image_ajax_upload() |
Ajax Upload and set a cover image |
bp-core/bp-core-attachments.php: bp_attachments_get_user_has_cover_image() |
Does the user has a cover image? |
bp-core/bp-core-attachments.php: bp_attachments_cover_image_upload_dir() |
Gets the upload dir array for cover images. |
bp-core/bp-core-buddybar.php: bp_core_register_nav_screen_function() |
Register a screen function for an item in the main nav array. |
bp-activity/classes/class-bp-activity-component.php: BP_Activity_Component::setup_nav() |
Set up component navigation. |
bp-activity/classes/class-bp-activity-component.php: BP_Activity_Component::setup_title() |
Set up the title for pages and |
bp-activity/classes/class-bp-activity-theme-compat.php: BP_Activity_Theme_Compat::is_activity() |
Set up the theme compatibility hooks, if we’re looking at an activity page. |
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/bp-activity-filters.php: bp_activity_filter_mentions_scope() |
Set up activity arguments for use with the ‘favorites’ scope. |
bp-activity/screens/permalink.php: bp_activity_screen_single_activity_permalink() |
Load the page for a single activity item. |
bp-activity/bp-activity-notifications.php: bp_activity_screen_notification_settings() |
Add activity notifications settings to the notifications settings page. |
bp-activity/bp-activity-template.php: bp_get_displayed_user_mentionname() |
Get the mentionname for the displayed user. |
bp-activity/bp-activity-template.php: bp_get_total_mention_count_for_user() |
Return the total mention count for a specified user. |
bp-activity/bp-activity-template.php: bp_get_activity_latest_update() |
Return the activity latest update link. |
bp-activity/bp-activity-template.php: bp_get_total_favorite_count_for_user() |
Return the total favorite count for a specified user. |
bp-activity/bp-activity-template.php: bp_has_activities() |
Initialize the activity loop. |
bp-activity/bp-activity-functions.php: bp_activity_get_user_favorites() |
Get a users favorite activity stream items. |
bp-activity/bp-activity-functions.php: bp_activity_total_favorites_for_user() |
Retrieve the number of favorite activity stream items a user has. |
bp-activity/actions/feeds.php: bp_activity_action_personal_feed() |
Load a user’s personal activity feed. |
bp-activity/actions/feeds.php: bp_activity_action_mentions_feed() |
Load a user’s @mentions feed. |
bp-activity/actions/feeds.php: bp_activity_action_favorites_feed() |
Load a user’s favorites 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-template.php: bp_blogs_get_profile_stats() |
Return the number of blogs in user’s profile. |
bp-blogs/bp-blogs-template.php: bp_has_blogs() |
Initialize the blogs loop. |
bp-blogs/bp-blogs-activity.php: bp_blogs_new_blog_comment_query_backpat() |
Filter ‘new_blog_comment’ bp_has_activities() loop to include new- and old-style blog activity comment items. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::get_blogs_for_user() |
Get all of a user’s blogs, as tracked by BuddyPress. |
bp-blogs/classes/class-bp-blogs-blog.php: BP_Blogs_Blog::get_blog_ids_for_user() |
Get IDs of all of a user’s blogs, as tracked by BuddyPress. |
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-component.php: BP_Blogs_Component::setup_title() |
Set up the title for pages and |
bp-settings/bp-settings-functions.php: bp_settings_get_personal_data_request() |
Fetches a user’s personal data request. |
bp-settings/classes/class-bp-settings-component.php: BP_Settings_Component::setup_nav() |
Set up navigation. |
bp-settings/actions/capabilities.php: bp_settings_action_capabilities() |
Handles the setting of user capabilities, spamming, hamming, role, etc. |
bp-settings/actions/general.php: bp_settings_action_general() |
Handles the changing and saving of user email addresses and passwords. |
bp-settings/actions/general.php: bp_settings_verify_email_change() |
Process email change verification or cancel requests. |
bp-members/bp-members-notifications.php: bp_members_mark_read_accepted_invitation_notification() |
Mark accepted invitation notifications as read when user visits new user profile. |
bp-members/bp-members-notifications.php: members_screen_notification_settings() |
Add Members-related settings to the Settings > Notifications page. |
bp-members/bp-members-invitations.php: bp_members_invitations_setup_nav() |
Set up the displayed user’s Members Invitations nav. |
bp-settings/bp-settings-template.php: bp_settings_pending_email_notice() |
Add the ‘pending email change’ message to the settings page. |
bp-settings/actions/notifications.php: bp_settings_action_notifications() |
Handles the changing and saving of user notification settings. |
bp-settings/actions/delete-account.php: bp_settings_action_delete_account() |
Handles the deleting of a user. |
bp-settings/actions/data.php: bp_settings_action_data() |
Data export request handler. |
bp-members/classes/class-bp-members-theme-compat.php: BP_Members_Theme_Compat::single_template_hierarchy() |
Add custom template hierarchy to theme compat for member pages. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_globals() |
Set up bp-members global settings. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_canonical_stack() |
Set up canonical stack for this component. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_title() |
Set up the title for pages and |
bp-members/bp-members-activity.php: bp_members_new_avatar_activity() |
Adds an activity stream item when a user has uploaded a new avatar. |
bp-members/screens/invitations.php: members_screen_send_invites() |
Catch and process the Send Invites page. |
bp-members/screens/invitations.php: members_screen_list_sent_invites() |
Catch and process the Pending Invites page. |
bp-members/bp-members-template.php: bp_get_the_members_invitations_delete_url() |
Return the URL used for deleting a single invitation. |
bp-members/screens/change-avatar.php: bp_members_screen_change_avatar() |
Handle the display of the profile Change Avatar page by loading the correct template file. |
bp-members/bp-members-template.php: bp_get_the_members_invitation_delete_link() |
Return the delete link for the current invitation. |
bp-members/bp-members-template.php: bp_get_the_members_invitation_action_links() |
Return the action links for the current invitation. |
bp-members/bp-members-template.php: bp_get_the_members_invitation_resend_link() |
Return the resend link for the current notification. |
bp-members/bp-members-template.php: bp_get_the_members_invitations_resend_url() |
Return the URL used for resending a single invitation. |
bp-members/bp-members-template.php: bp_has_members_invitations() |
Initialize the community invitations loop. |
bp-members/bp-members-template.php: bp_get_members_component_link() |
Generate a link to a members component subpage. |
bp-members/bp-members-template.php: bp_get_member_type_list() |
Return a comma-delimited list of member types. |
bp-members/bp-members-template.php: bp_get_displayed_user_username() |
Get the username of the displayed user. |
bp-members/bp-members-template.php: bp_get_last_activity() |
Get the “active [x days ago]” string for a user. |
bp-members/bp-members-template.php: bp_current_user_id() |
Alias of {@link bp_displayed_user_id()}. |
bp-members/bp-members-template.php: bp_get_displayed_user_avatar() |
Get the displayed 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_profile_data() |
Get a piece of user profile data. |
bp-members/bp-members-template.php: bp_has_members() |
Initialize the members loop. |
bp-members/bp-members-functions.php: bp_members_avatar_upload_dir() |
Setup the avatar upload directory for a user. |
bp-members/bp-members-functions.php: bp_core_can_edit_settings() |
Check whether the logged-in user can edit settings for the displayed user. |
bp-members/bp-members-functions.php: bp_core_get_all_posts_for_user() |
Fetch every post that is authored by the given user for the current blog. |
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/actions/delete-avatar.php: bp_members_action_delete_avatar() |
This function runs when an action is set for a screen: example.com/members/andy/profile/change-avatar/ [delete-avatar] |
bp-templates/bp-nouveau/includes/notifications/template-tags.php: bp_nouveau_notifications_sort_order_links() |
Outputs the order action links. |
bp-templates/bp-nouveau/includes/members/functions.php: bp_nouveau_member_activity_widget_overrides() |
Filter the Latest activities Widget to only keep the one of displayed user |
bp-templates/bp-nouveau/includes/members/functions.php: bp_nouveau_member_groups_widget_overrides() |
Filter the Groups widget to only keep the groups the displayed user is a member of. |
bp-templates/bp-nouveau/includes/members/functions.php: bp_nouveau_member_members_widget_overrides() |
Filter the Members widgets to only keep members of the displayed group. |
bp-templates/bp-nouveau/includes/members/template-tags.php: bp_nouveau_has_wp_profile_fields() |
Does the displayed user has WP profile fields? |
bp-templates/bp-nouveau/includes/members/template-tags.php: bp_nouveau_member_description() |
Display the Member description making sure linefeeds are taking in account |
bp-templates/bp-nouveau/includes/members/template-tags.php: bp_nouveau_member_get_description_edit_link() |
Get the Edit profile link (temporary) |
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/template-tags.php: bp_nouveau_get_member_meta() |
Get the member meta. |
bp-templates/bp-nouveau/includes/functions.php: bp_nouveau_get_submit_button() |
Get Some submit buttons data. |
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/template-tags.php: bp_nouveau_get_container_classes() |
Returns the main BuddyPress container classes. |
bp-templates/bp-nouveau/includes/groups/functions.php: bp_nouveau_groups_screen_invites_restriction() |
Group invites restriction screen. |
bp-templates/bp-nouveau/includes/groups/template-tags.php: bp_nouveau_groups_get_group_invites_setting() |
Gets the displayed user group invites preferences |
bp-templates/bp-legacy/buddypress-functions.php: bp_legacy_theme_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-messages/classes/class-bp-messages-component.php: BP_Messages_Component::setup_nav() |
Set up navigation for user pages. |
bp-messages/classes/class-bp-messages-component.php: BP_Messages_Component::setup_title() |
Set up the title for pages and |
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::populate() |
Populate method. |
bp-messages/classes/class-bp-messages-thread.php: BP_Messages_Thread::mark_as_read() |
Mark a thread as read. |
bp-messages/bp-messages-notifications.php: messages_screen_notification_settings() |
Render the markup for the Messages section of Settings > Notifications. |
bp-messages/bp-messages-star.php: bp_messages_is_message_starred() |
Function to determine if a message ID is starred. |
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-star.php: bp_messages_star_set_action() |
Save or delete star message meta according to a message’s star status. |
bp-messages/bp-messages-functions.php: messages_delete_thread() |
Deletes message thread(s) for a given user. |
bp-messages/bp-messages-template.php: bp_get_send_private_message_link() |
Generate the URL for the Private Message link in member profile headers. |
bp-groups/bp-groups-notifications.php: groups_screen_notification_settings() |
Render the group settings fields on the Notification Settings page. |
bp-messages/bp-messages-template.php: bp_has_message_threads() |
Retrieve private message threads for display in inbox/sentbox/notices. |
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-group.php: BP_Groups_Group::filter_user_groups() |
Get a list of a user’s groups, filtered by a search string. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_nav() |
Set up component navigation. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_title() |
Set up the title for pages and |
bp-groups/bp-groups-template.php: bp_groups_get_profile_stats() |
Return the number of groups in user’s profile. |
bp-groups/bp-groups-template.php: bp_group_show_no_groups_message() |
Determine whether the displayed user has no groups. |
bp-groups/bp-groups-template.php: bp_has_groups() |
Start the Groups Template Loop. |
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: bp_groups_filter_activity_favorites_scope() |
Enforces group membership restrictions on activity favorite queries. |
bp-groups/bp-groups-functions.php: groups_get_user_groups() |
Get the IDs of the groups of which a specified user is a member. |
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-xprofile/bp-xprofile-template.php: bp_get_profile_last_updated() |
Return a formatted string displaying when a profile was last updated. |
bp-xprofile/bp-xprofile-template.php: bp_get_the_profile_field_options() |
Retrieves field options HTML for field types of ‘selectbox’, ‘multiselectbox’, ‘radio’, ‘checkbox’, and ‘datebox’. |
bp-xprofile/bp-xprofile-template.php: bp_get_profile_field_data() |
Return XProfile field data. |
bp-xprofile/bp-xprofile-template.php: bp_has_profile() |
Query for XProfile groups and fields. |
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: xprofile_get_field_data() |
Fetches profile data for a specific field for the user. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php: BP_XProfile_Field_Type_WordPress_Textbox::display_filter() |
Format WordPress field values for display. |
bp-xprofile/classes/class-bp-xprofile-group.php: BP_XProfile_Group::get() |
Populates the BP_XProfile_Group object with profile field groups, fields, and field data. |
bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php: BP_XProfile_Field_Type_Selectbox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php: BP_XProfile_Field_Type_WordPress_Textbox::sanitize_for_output() |
Sanitize the user field before displaying it as an attribute. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php: BP_XProfile_Field_Type_WordPress_Textbox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php: BP_XProfile_Field_Type_Radiobutton::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php: BP_XProfile_Field_Type_Multiselectbox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php: BP_XProfile_Field_Type_Checkbox_Acceptance::edit_field_options_html() |
Profile edit/register options html. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php: BP_XProfile_Field_Type_WordPress_Biography::sanitize_for_output() |
Sanitize the user field before displaying it as an attribute. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php: BP_XProfile_Field_Type_WordPress_Biography::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php: BP_XProfile_Field_Type_WordPress_Biography::display_filter() |
Format WordPress Biography for display. |
bp-xprofile/classes/class-bp-xprofile-component.php: BP_XProfile_Component::setup_title() |
Sets up the title for pages and |
bp-xprofile/classes/class-bp-xprofile-profiledata.php: BP_XProfile_ProfileData::get_fullname() |
Get fullname for provided user ID. |
bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php: BP_XProfile_Field_Type_Datebox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php: BP_XProfile_Field_Type_Checkbox_Acceptance::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-profiledata.php: BP_XProfile_ProfileData::get_value_byid() |
Get profile field values by field ID and user IDs. |
bp-xprofile/classes/class-bp-xprofile-profiledata.php: BP_XProfile_ProfileData::get_value_byfieldname() |
Get profile field values by field name and user ID. |
bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php: BP_XProfile_Field_Type_WordPress::get_field_value() |
Gets the WordPress field value during an xProfile fields loop. |
bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php: BP_XProfile_Field_Type_Checkbox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/bp-xprofile-filters.php: bp_xprofile_escape_field_data() |
Escape field value for display. |
bp-xprofile/screens/settings-profile.php: bp_xprofile_action_settings() |
Handles the saving of xprofile field visibilities. |
bp-xprofile/screens/edit.php: xprofile_screen_edit_profile() |
Handles the display of the profile edit page by loading the correct template file. |
bp-xprofile/bp-xprofile-caps.php: bp_xprofile_map_meta_caps() |
Maps XProfile caps to built in WordPress caps. |
bp-xprofile/bp-xprofile-settings.php: bp_xprofile_get_settings_fields() |
Query all profile fields and their visibility data for display in settings. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_delete_url() |
Return the URL used for deleting a single notification. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_action_links() |
Return the action links for the current notification. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_mark_unread_link() |
Return the mark unread link for the current notification. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_mark_unread_url() |
Return the URL used for marking a single notification as unread. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_mark_link() |
Return the mark link for the current notification. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_delete_link() |
Return the delete link for the current notification. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_mark_read_url() |
Return the URL used for marking a single notification as read. |
bp-notifications/bp-notifications-template.php: bp_get_the_notification_mark_read_link() |
Return the mark read link for the current notification. |
bp-notifications/classes/class-bp-notifications-component.php: BP_Notifications_Component::setup_nav() |
Set up component navigation. |
bp-notifications/classes/class-bp-notifications-component.php: BP_Notifications_Component::setup_title() |
Set up the title for pages and |
bp-notifications/bp-notifications-template.php: bp_has_notifications() |
Initialize the notifications loop. |
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_delete_notification() |
Delete a specific notification by its ID. |
bp-notifications/bp-notifications-functions.php: bp_notifications_mark_notification() |
Mark notification read/unread for a user by ID. |
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-themes/bp-default/_inc/ajax.php: bp_dtheme_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-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_total_friend_count() |
Get the friend count of a given user. |
bp-friends/classes/class-bp-core-friends-widget.php: BP_Core_Friends_Widget::widget() |
Display the widget. |
bp-friends/bp-friends-notifications.php: friends_screen_notification_settings() |
Add Friends-related settings to the Settings > Notifications page. |
bp-friends/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::populate() |
Set up data about the current friendship. |
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-component.php: BP_Friends_Component::setup_title() |
Set up the title for pages and |
bp-friends/bp-friends-template.php: bp_friends_get_profile_stats() |
Return the number of friends in user’s profile. |
bp-friends/bp-friends-template.php: bp_get_potential_friend_id() |
Return the ID of current user in the friend request loop. |
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_friendship_requests() |
Get a user’s friendship requests. |
bp-friends/bp-friends-template.php: bp_friends_random_friends() |
Output a block of random friends. |
bp-friends/bp-friends-template.php: bp_friend_search_form() |
Display a Friends search form. |
bp-friends/bp-friends-widgets.php: bp_core_ajax_widget_friends() |
Process AJAX pagination or filtering for the Friends widget. |
Changelog #Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |