bp_get_messages_slug()
Return the messages component slug.
Return #Return
(string)
Source #Source
File: bp-messages/bp-messages-template.php
function bp_get_messages_slug() { /** * Filters the messages component slug. * * @since 1.5.0 * * @param string $slug Messages component slug. */ return apply_filters( 'bp_get_messages_slug', buddypress()->messages->slug ); }
Expand full source code Collapse full source code View on Trac
Related #Related
Uses #Uses
Uses | Description |
---|---|
bp-loader.php: buddypress() |
The main function responsible for returning the one true BuddyPress Instance to functions everywhere. |
bp-messages/bp-messages-template.php: bp_get_messages_slug |
Filters the messages component slug. |
Used By #Used By
Used By | Description |
---|---|
bp-templates/bp-nouveau/includes/functions.php: bp_nouveau_get_component_slug() |
Gets the component’s slug thanks to its ID. |
bp-templates/bp-legacy/buddypress-functions.php: bp_legacy_theme_ajax_messages_autocomplete_results() |
AJAX handler for autocomplete. |
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/star.php: bp_messages_star_action_handler() |
Action handler to set a message’s star status for those not using JS. |
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/actions/compose.php: bp_messages_action_create_message() |
Handle creating of private messages or sitewide notices |
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/bulk-delete.php: messages_action_bulk_delete() |
Process a request to bulk delete messages. |
bp-messages/actions/unread.php: bp_messages_action_mark_unread() |
Handle marking a single message thread as unread. |
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/delete.php: messages_action_delete_message() |
Process a request to delete a message. |
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-functions.php: messages_notification_new_message() |
Email message recipients to alert them of a new unread private message. |
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_unread_url() |
Return the URL used for marking a single message thread as unread. |
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_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-themes/bp-default/_inc/ajax.php: bp_dtheme_ajax_messages_autocomplete_results() |
AJAX handler for autocomplete. Displays friends only, unless BP_MESSAGES_AUTOCOMPLETE_ALL is defined. |
Changelog #Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |