bp_loggedin_user_domain()
Generate the link for the logged-in user’s profile.
Return #Return
(string)
Source #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 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 : '' ); }
Expand full source code Collapse full source code View on Trac
Related #Related
Uses #Uses
Uses | Description |
---|---|
bp-members/bp-members-template.php: bp_loggedin_user_domain |
Filters the generated link for the logged-in user’s profile. |
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/classes/class-bp-core-login-widget.php: BP_Core_Login_Widget::widget() |
Display the login widget. |
bp-core/deprecated/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/bp-core-buddybar.php: bp_core_create_nav_link() |
Add a link to the main BuddyPress navigation. |
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/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_format_notifications() |
Format notifications related to activity. |
bp-blogs/classes/class-bp-blogs-component.php: BP_Blogs_Component::setup_nav() |
Set up component navigation for bp-blogs. |
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-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-members/bp-members-adminbar.php: bp_members_admin_bar_my_account_menu() |
Add the “My Account” menu and all submenus. |
bp-members/bp-members-adminbar.php: bp_members_admin_bar_add_invitations_menu() |
Add the “Invitations” menu and 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/classes/class-bp-members-component.php: BP_Members_Component::get_avatar_cover_image_admin_navs() |
Get the Avatar and Cover image admin navs. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::get_members_invitations_admin_navs() |
Get the members invitations admin bar navs. |
bp-members/classes/class-bp-members-component.php: BP_Members_Component::setup_admin_bar() |
Set up the Admin Bar. |
bp-members/bp-members-template.php: bp_get_members_invitations_list_invites_permalink() |
Return the members invitations list permalink for a user. |
bp-members/bp-members-template.php: bp_get_members_invitations_send_invites_permalink() |
Return the send invitations permalink. |
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-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() | |
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/members/functions.php: bp_nouveau_get_members_directory_nav_items() |
Get the nav items for the Members directory |
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/blogs/functions.php: bp_nouveau_get_blogs_directory_nav_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/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() | |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_messages_adjust_admin_nav() | |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_format_notice_notification_for_user() | |
bp-templates/bp-legacy/buddypress-functions.php: bp_legacy_theme_ajax_addremove_friend() |
Friend/un-friend a user via a POST request. |
bp-templates/bp-legacy/buddypress-functions.php: bp_legacy_theme_activity_template_loader() |
Load the activity loop template when activity is requested via AJAX. |
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/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/actions/notices.php: bp_messages_action_edit_notice() |
Handle editing of sitewide notices. |
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-notifications.php: messages_format_notifications() |
Format notifications for the Messages component. |
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-groups/bp-groups-notifications.php: groups_format_notifications() |
Format notifications for the Groups component. |
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/screens/user/invites.php: groups_screen_group_invites() |
Handle the loading of a user’s Groups > Invites page. |
bp-groups/screens/single/admin/delete-group.php: groups_screen_group_admin_delete_group() |
Handle the display of the Delete Group page. |
bp-groups/actions/leave-group.php: groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
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-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-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-notifications/bp-notifications-template.php: bp_get_notifications_read_permalink() |
Return the read notifications permalink. |
bp-notifications/bp-notifications-functions.php: bp_notifications_get_notifications_for_user() |
Get notifications for a specific user. |
bp-themes/bp-default/_inc/ajax.php: bp_dtheme_ajax_invite_user() |
Invites a friend to join a group via a POST request. |
bp-themes/bp-default/_inc/ajax.php: bp_dtheme_ajax_addremove_friend() |
Friend/un-friend a user via a POST request. |
bp-themes/bp-default/_inc/ajax.php: bp_dtheme_ajax_messages_send_reply() |
Send a private message reply to a thread via a POST request. |
bp-themes/bp-default/_inc/ajax.php: bp_dtheme_activity_template_loader() |
Load the activity loop template when activity is requested via AJAX, |
bp-themes/bp-default/functions.php: bp_dtheme_before_comment_form() |
Adds the user’s avatar before the comment form box. |
bp-friends/bp-friends-notifications.php: friends_format_notifications() |
Notification formatting callback for bp-friends notifications. |
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-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_friend_reject_request_link() |
Return the URL for rejecting the current friendship request in the loop. |
bp-friends/bp-friends-template.php: bp_get_add_friend_button() |
Create the Add Friend button. |
bp-friends/screens/requests.php: friends_screen_requests() |
Catch and process the Requests page. |
Changelog #Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |