Contents
bp_get_messages_slug()
Return the messages component slug.
Description
Return
(string)
Source
File: bp-messages/bp-messages-template.php
function bp_get_messages_slug() { /** * Filters the messages component slug. * * @since BuddyPress 1.5.0 * * @param string $slug Messages component slug. */ return apply_filters( 'bp_get_messages_slug', buddypress()->messages->slug ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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-messages/bp-messages-template.php: bp_get_messages_slug |
Filters the messages component slug. |
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-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-messages/bp-messages-functions.php: group_messages_notification_new_message() |
Email message recipients to alert them of a new unread group message. |
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/actions/bulk-delete.php: messages_action_bulk_delete() |
Process a request to bulk delete messages. |
bp-messages/actions/bulk-manage-star.php: bp_messages_star_bulk_manage_handler() |
Bulk manage handler to set the star status for multiple messages. |
bp-messages/actions/notices.php: bp_messages_action_edit_notice() |
Handle editing of sitewide notices. |
bp-messages/actions/star.php: bp_messages_star_action_handler() |
Action handler to set a message’s star status for those not using JS. |
bp-messages/actions/unread.php: bp_messages_action_mark_unread() |
Handle marking a single message thread as unread. |
bp-messages/screens/inbox.php: messages_screen_inbox() |
Load the Messages > Inbox screen. |
bp-messages/screens/view.php: messages_screen_conversation() |
Load an individual conversation screen. |
bp-messages/actions/bulk-manage.php: bp_messages_action_bulk_manage() |
Handle bulk management (mark as read/unread, delete) of message threads. |
bp-messages/actions/compose.php: bp_messages_action_create_message() |
Handle creating of private messages or sitewide notices |
bp-messages/actions/delete.php: messages_action_delete_message() |
Process a request to delete a message. |
bp-messages/actions/read.php: bp_messages_action_mark_read() |
Handle marking a single message thread as read. |
bp-messages/actions/view.php: messages_action_conversation() |
Process a request to view a single message thread. |
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_the_thread_delete_link() |
Get the URL for deleting the current thread. |
bp-messages/bp-messages-template.php: bp_messages_slug() |
Output the messages component slug. |
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-template.php: bp_get_messages_form_action() |
Return the form action for Messages HTML forms. |
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-functions.php: messages_notification_new_message() |
Email message recipients to alert them of a new unread private message. |
bp-messages/bp-messages-notifications.php: messages_format_notifications() |
Format notifications for the Messages component. |
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/messages/functions.php: bp_nouveau_messages_localize_scripts() |
Localize the strings needed for the messages UI |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_messages_adjust_nav() |
Adjust message navigation for notices and composing. |
bp-templates/bp-nouveau/includes/messages/functions.php: bp_nouveau_messages_adjust_admin_nav() |
Adjust admin message navigation for notices. |
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. |
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.