Contents
bp_loggedin_user_domain()
Generate the link for the logged-in user’s profile.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
function bp_loggedin_user_domain() { $bp = buddypress(); /** * Filters the generated link for the logged-in user's profile. * * @since BuddyPress 1.0.0 * * @param string $value Generated link for the logged-in user's profile. */ return apply_filters( 'bp_loggedin_user_domain', isset( $bp->loggedin_user->domain ) ? $bp->loggedin_user->domain : '' ); }
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-members/bp-members-template.php: bp_loggedin_user_domain |
Filters the generated link for the logged-in user’s profile. |
Used By | Description |
---|---|
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::bp_rest_default_menu() |
Get default dropdown navigation. |
bp-xprofile/bp-xprofile-functions.php: bp_xprofile_get_user_progress_formatted() |
Function formats user progress to pass on to templates. |
bp-document/classes/class-bp-document-component.php: BP_Document_Component::setup_nav() |
Set up component navigation. |
bp-document/classes/class-bp-document-component.php: BP_Document_Component::setup_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-document/bp-document-functions.php: folders_check_folder_access() |
Check folder access for current user or guest |
bp-templates/bp-nouveau/includes/document/functions.php: bp_nouveau_get_document_directory_nav_items() |
Get the nav items for the Media directory |
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_validate_message() |
Check group message has been successfully sent or not. |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::bp_rest_get_notification_actions() |
Action to perform. |
bp-notifications/classes/class-bp-rest-notifications-endpoint.php: BP_REST_Notifications_Endpoint::bp_rest_link_url_update() |
Update Link URL after request accept/reject. |
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::get_nav_link() |
Add Menu and Sub menu navigation link for profile menu |
bp-integrations/learndash/core/Core.php: Core::adminbar_nav_link() |
Add Menu and Sub menu navigation link for admin menu |
bp-settings/classes/class-bp-settings-component.php: BP_Settings_Component::setup_nav() |
Set up navigation. |
bp-settings/classes/class-bp-settings-component.php: BP_Settings_Component::setup_admin_bar() |
Set up the Toolbar. |
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_admin_bar() |
Set up the admin bar |
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_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-notifications/bp-notifications-functions.php: bp_notifications_get_notifications_for_user() |
Get notifications for a specific user. |
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_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-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/classes/class-bp-blogs-component.php: BP_Blogs_Component::setup_admin_bar() |
Set up bp-blogs integration with the WordPress admin bar. |
bp-blogs/classes/class-bp-blogs-component.php: BP_Blogs_Component::setup_nav() |
Set up component navigation for bp-blogs. |
bp-xprofile/classes/class-bp-xprofile-component.php: BP_XProfile_Component::setup_settings_admin_nav() |
Adds “Settings > Profile” subnav item under the “Settings” adminbar menu. |
bp-xprofile/classes/class-bp-xprofile-component.php: BP_XProfile_Component::setup_nav() |
Set up navigation. |
bp-xprofile/classes/class-bp-xprofile-component.php: BP_XProfile_Component::setup_settings_nav() |
Set up the Settings > Profile nav item. |
bp-xprofile/classes/class-bp-xprofile-component.php: BP_XProfile_Component::setup_admin_bar() |
Set up the Admin Bar. |
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/actions/notices.php: bp_messages_action_edit_notice() |
Handle editing of sitewide notices. |
bp-messages/screens/view.php: messages_screen_conversation() |
Load an individual conversation screen. |
bp-messages/actions/compose.php: bp_messages_action_create_message() |
Handle creating of private messages or sitewide notices |
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_admin_bar() |
Set up the Toolbar. |
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_get_message_notice_delete_link() |
Get the URL for deleting the current notice. |
bp-messages/bp-messages-template.php: bp_get_message_activate_deactivate_link() |
Get the URL for deactivating the current notice. |
bp-messages/bp-messages-notifications.php: messages_format_notifications() |
Format notifications for the Messages component. |
bp-groups/screens/single/admin/delete-group.php: groups_screen_group_admin_delete_group() |
Handle the display of the Delete Group page. |
bp-groups/screens/user/invites.php: groups_screen_group_invites() |
Handle the loading of a user’s Groups > Invites page. |
bp-groups/actions/leave-group.php: groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
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_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-groups/bp-groups-template.php: bp_get_group_accept_invite_link() |
Generate the URL for accepting an invitation to a group. |
bp-groups/bp-groups-template.php: bp_get_group_reject_invite_link() |
Generate the URL for rejecting an invitation to a group. |
bp-groups/bp-groups-notifications.php: groups_format_notifications() |
Format notifications for the Groups component. |
bp-members/bp-members-adminbar.php: bp_members_admin_bar_my_account_menu() |
Add the “My Account” menu and all submenus. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_nav() |
Set up fall-back component navigation if XProfile is inactive. |
bp-members/bp-members-template.php: bp_get_loggedin_user_link() |
Get the link for the logged-in user’s profile. |
bp-members/bp-members-template.php: bp_get_displayed_user_nav() |
Render the navigation markup for the displayed user. |
bp-invites/bp-invites-functions.php: bp_get_member_invites_wildcard_replace() |
Replaces the token, {{ }}, to it’s appropriate content dynamically. |
bp-invites/classes/class-bp-invites-component.php: BP_Invites_Component::setup_nav() |
Set up component navigation. |
bp-invites/classes/class-bp-invites-component.php: BP_Invites_Component::setup_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-invites/actions/invites.php: bp_member_invite_submit() |
Member submit email invite. |
bp-friends/screens/requests.php: friends_screen_requests() |
Catch and process the Requests page. |
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_get_friend_accept_request_link() |
Return the URL for accepting the current friendship request in the loop. |
bp-friends/bp-friends-template.php: bp_get_add_friend_button() |
Create the Connect button. |
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_format_notifications() |
Notification formatting callback for bp-friends notifications. |
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/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/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/functions.php: bp_nouveau_get_media_directory_nav_items() |
Get the nav items for the Media directory |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_messages_adjust_admin_nav() |
Adjust admin message navigation for notices. |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_format_notice_notification_for_user() |
Format for notice notifications. |
bp-templates/bp-nouveau/includes/groups/functions.php: bp_nouveau_groups_invites_restriction_nav() |
Group invites restriction settings navigation. |
bp-templates/bp-nouveau/includes/groups/functions.php: bp_nouveau_groups_invites_restriction_admin_nav() |
Group invites restriction settings Admin Bar navigation. |
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/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_link() |
Retrieve the URL for the current nav item. |
bp-templates/bp-nouveau/includes/ajax.php: bp_nouveau_ajax_object_template_loader() |
Load the template loop for the current object. |
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/buddypress/2.1.php: bp_adminbar_account_menu() |
Output the My Account BuddyBar menu. |
bp-core/deprecated/buddypress/3.0.php: bp_core_action_delete_user() |
Process user deletion requests. |
bp-core/bp-core-template.php: bp_get_nav_menu_items() |
Get the items registered in the primary and secondary BuddyPress navigation menus. |
bp-core/classes/class-bp-core-login-widget.php: BP_Core_Login_Widget::widget() |
Display the login widget. |
bp-core/bp-core-buddybar.php: bp_core_create_nav_link() |
Add a link to the main BuddyPress navigation. |
bp-core/bp-core-functions.php: bp_nav_menu_get_loggedin_pages() |
Create fake “post” objects for BP’s logged-in nav menu for use in the WordPress “Menus” settings page. |
bp-core/bp-core-filters.php: bp_setup_nav_menu_item() |
Add BuddyPress-specific items to the wp_nav_menu. |
bp-activity/screens/permalink.php: bp_activity_screen_single_activity_permalink() |
Load the page for a single activity item. |
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_admin_bar() |
Set up the component entries in the WordPress Admin Bar. |
bp-activity/classes/class-bp-activity-activity.php: BP_Activity_Activity::save() |
Save the activity item to the database. |
bp-activity/bp-activity-template.php: bp_get_add_follow_button() |
Returns a follow / unfollow button for a given user depending on the follower status. |
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.