Contents
bp_displayed_user_id()
Get the ID of the currently displayed user.
Description
Return
(int) $id ID of the currently displayed user.
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 BuddyPress 1.0.0 * * @param int $id ID of the currently displayed user. */ return (int) apply_filters( 'bp_displayed_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_displayed_user_id |
Filters the ID of the currently displayed 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-templates/bp-nouveau/includes/ajax.php: bp_nouveau_ajax_save_cover_position() |
Save Cover image position for group and member. |
bp-document/classes/class-bp-document-theme-compat.php: BP_Document_Theme_Compat::is_document() |
Set up the theme compatibility hooks, if we’re looking at an document page. |
bp-document/classes/class-bp-document-component.php: BP_Document_Component::setup_title() |
Set up the title for pages and |
bp-document/bp-document-template.php: bp_has_folders() |
Initialize the folder loop. |
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-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php: BP_REST_XProfile_Update_Endpoint::validate_update() |
Validate field update for the user with value. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_general_fields() |
Update general fields. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_notifications_fields() |
Update notication fields. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_profile_fields() |
Update profile fields. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_invites_fields() |
Update Invites fields “Group Invites”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::update_delete_account_fields() |
Delete Account “Export Data”. |
bp-settings/classes/class-bp-rest-account-settings-options-endpoint.php: BP_REST_Account_Settings_Options_Endpoint::bp_rest_settings_pending_email_notice() |
Add the ‘pending email change’ message to the settings page. |
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-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_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-integrations/learndash/core/Core.php: Core::setup_nav() |
Add Course tab in profile menu |
bp-integrations/learndash/core/Core.php: Core::get_nav_link() |
Add Menu and Sub menu navigation link for profile menu |
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-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-core/bp-core-template.php: bp_is_document_directory() |
Is the current page the media directory? |
bp-core/classes/class-bp-core-follow-follower-widget.php: BP_Core_Follow_Follower_Widget::widget() |
Displays the widget. |
bp-xprofile/classes/class-bp-xprofile-field-type-member-types.php: BP_XProfile_Field_Type_Member_Types::edit_field_html() |
Output the edit field HTML for this field type. |
bp-core/compatibility/bp-rankmath-plugin-helpers.php: BP_RankMath_Title::title() |
Retrieves the SEO title. |
bp-settings/actions/capabilities.php: bp_settings_action_capabilities() |
Handles the setting of user capabilities, spamming, hamming, role, etc. |
bp-settings/actions/delete-account.php: bp_settings_action_delete_account() |
Handles the deleting of a user. |
bp-settings/bp-settings-template.php: bp_settings_pending_email_notice() |
Add the ‘pending email change’ message to the settings page. |
bp-settings/classes/class-bp-settings-component.php: BP_Settings_Component::setup_nav() |
Set up navigation. |
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-settings/actions/notifications.php: bp_settings_action_notifications() |
Handles the changing and saving of user notification settings. |
bp-forums/classes/class-bp-forums-component.php: BP_Forums_Component::setup_nav() |
Setup BuddyBar navigation |
bp-forums/classes/class-bp-forums-component.php: BP_Forums_Component::setup_title() |
Sets up the title for pages and |
bp-forums/functions.php: bbp_filter_user_id() |
Filter the current Forums user ID with the current BuddyBoss user ID |
bp-media/bp-media-template.php: bp_has_albums() |
Initialize the album loop. |
bp-media/bp-media-template.php: bp_has_media() |
Initialize the media loop. |
bp-media/classes/class-bp-media-component.php: BP_Media_Component::setup_nav() |
Set up component navigation. |
bp-media/classes/class-bp-media-component.php: BP_Media_Component::setup_title() |
Set up the title for pages and |
bp-media/classes/class-bp-media-theme-compat.php: BP_Media_Theme_Compat::is_media() |
Set up the theme compatibility hooks, if we’re looking at an media page. |
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-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_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/bp-notifications-template.php: bp_has_notifications() |
Initialize the notifications 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/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-functions.php: bp_blogs_total_blogs_for_user() |
Get the total number of blogs being tracked by BP for a specific user. |
bp-blogs/classes/class-bp-blogs-component.php: BP_Blogs_Component::setup_title() |
Set up the title for pages and |
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-xprofile/bp-xprofile-activity.php: bp_xprofile_new_avatar_activity() |
Adds an activity feed item when a user has uploaded a new avatar. |
bp-xprofile/bp-xprofile-filters.php: bp_xprofile_escape_field_data() |
Escape field value for display. |
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_avatar_upload_dir() |
Setup the avatar upload directory for a user. |
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/bp-xprofile-template.php: bp_profile_get_field_groups() |
Get all profile field groups. |
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_profile_field_data() |
Return XProfile field data. |
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_the_profile_field_value() |
Returns the XProfile field value. |
bp-xprofile/bp-xprofile-template.php: bp_has_profile() |
Query for XProfile groups and fields. |
bp-xprofile/screens/change-avatar.php: xprofile_screen_change_avatar() |
Handles the uploading and cropping of a user avatar. Displays the change avatar page. |
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/screens/settings-profile.php: bp_xprofile_action_settings() |
Handles the saving of xprofile field visibilities. |
bp-xprofile/actions/delete-avatar.php: xprofile_action_delete_avatar() |
Deletes the active avatar for a user. |
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-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-checkbox.php: BP_XProfile_Field_Type_Checkbox::edit_field_html() |
Output the edit field HTML for this field type. |
bp-xprofile/classes/class-bp-xprofile-field-type-gender.php: BP_XProfile_Field_Type_Gender::edit_field_html() |
Output the edit field HTML for this field type. |
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-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-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-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-social-networks.php: BP_XProfile_Field_Type_Social_Networks::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/bp-xprofile-repeaters.php: bp_xprofile_ajax_add_repeater_set() |
Adds a repeater set. |
bp-xprofile/bp-xprofile-caps.php: bp_xprofile_map_meta_caps() |
Maps XProfile caps to built in WordPress caps. |
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-xprofile/bp-xprofile-settings.php: bp_xprofile_get_settings_fields() |
Query all profile fields and their visibility data for display in settings. |
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_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::populate() |
Populate method. |
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-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_delete_thread() |
Deletes message thread(s) for a given user. |
bp-messages/bp-messages-notifications.php: messages_screen_notification_settings() |
Render the markup for the Messages section of Settings > Notifications. |
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_title() |
Set up the title for pages and |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_nav() |
Set up component navigation. |
bp-groups/bp-groups-functions.php: bp_groups_get_invited_by() |
Get inviter for member’s group invitation |
bp-groups/bp-groups-functions.php: bp_groups_get_invite_messsage_for_user() |
Get user’s invite message. |
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-groups/bp-groups-activity.php: bp_groups_filter_activity_scope() |
Set up activity arguments for use with the ‘groups’ scope. |
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-notifications.php: groups_screen_notification_settings() |
Render the group settings fields on the Notification Settings page. |
bp-members/bp-members-adminbar.php: bp_members_admin_bar_user_admin_menu() |
Add the User Admin top-level menu to user pages. |
bp-members/bp-members-functions.php: bp_get_user_member_type() |
Get profile type. |
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_core_can_edit_settings() |
Check whether the logged-in user can edit settings for the displayed user. |
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/classes/class-bp-members-component.php: BP_Members_Component::setup_title() |
Set up the title for pages and |
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-core-members-switching.php: BP_Core_Members_Switching::action_bp_button() |
Adds a ‘View As’ link to each member’s profile page and profile listings in BuddyPress. |
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_displayed_user_username() |
Get the username of the displayed 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_last_activity() |
Get the “active [x days ago]” string for a user. |
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-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/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_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 connection requests. |
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_friends_random_friends() |
Output a block of random friends. |
bp-friends/bp-friends-template.php: bp_friend_search_form() |
Display a Connections search form. |
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::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/classes/class-bp-friends-friendship.php: BP_Friends_Friendship::populate() |
Set up data about the current friendship. |
bp-friends/bp-friends-notifications.php: friends_screen_notification_settings() |
Add Connections-related settings to the Settings > Notifications page. |
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_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/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/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_activity_widget_overrides() |
Filter the Latest activities Widget to only keep the one of displayed user |
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-nouveau/includes/groups/functions.php: bp_nouveau_groups_screen_invites_restriction() |
Group invites restriction screen. |
bp-templates/bp-nouveau/includes/template-tags.php: bp_nouveau_get_container_classes() |
Returns the main BuddyPress container classes. |
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/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/notifications/template-tags.php: bp_nouveau_notifications_sort_order_links() |
Outputs the order action links. |
bp-core/deprecated/buddypress/2.1.php: bp_members_adminbar_admin_menu() |
Add a member admin menu to the BuddyBar. |
bp-core/deprecated/buddypress/1.5.php: bp_core_get_wp_profile() | |
bp-core/deprecated/buddypress/3.0.php: bp_core_action_set_spammer_status() |
Catch a “Mark as Spammer/Not Spammer” click from the toolbar. |
bp-core/deprecated/buddypress/3.0.php: bp_core_action_delete_user() |
Process user deletion requests. |
bp-core/deprecated/buddyboss/1.0.php: bp_nouveau_member_get_description_edit_link() |
Get the Edit profile link (temporary) |
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_get_the_body_class() |
Customize the body class, according to the currently displayed BP content. |
bp-core/bp-core-template.php: bp_is_media_directory() |
Is the current page the media directory? |
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/classes/class-bp-core-follow-following-widget.php: BP_Core_Follow_Following_Widget::widget() |
Displays the widget. |
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/classes/class-bp-attachment-avatar.php: BP_Attachment_Avatar::get_user_id() |
Get the user id to set its avatar. |
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-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_get_user_has_cover_image() |
Does the user has a cover photo? |
bp-core/bp-core-attachments.php: bp_attachments_cover_image_upload_dir() |
Gets the upload dir array for cover photos. |
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-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_get_followers() |
Fetch the user IDs of all the followers of a particular user. |
bp-activity/bp-activity-functions.php: bp_get_following() |
Fetch the user IDs of all the users a particular user is following. |
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_get_user_favorites() |
Get a users favorite activity feed items. |
bp-activity/bp-activity-notifications.php: bp_activity_screen_notification_settings() |
Add activity notifications settings to the notifications settings page. |
bp-activity/screens/permalink.php: bp_activity_screen_single_activity_permalink() |
Load the page for a single activity item. |
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_users_filter_activity_following_scope() |
Set up activity arguments for use with the ‘following’ scope. |
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/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-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_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-template.php: bp_get_following_ids() |
Returns a comma separated list of user_ids for a given user’s following. |
bp-activity/bp-activity-template.php: bp_get_follower_ids() |
Returns a comma separated list of user_ids for a given user’s followers. |
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_favorite_count_for_user() |
Return the total favorite count for a specified 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_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.