bp_get_messages_slug()

Return the messages component slug.

Description

Return

(string)

Source

File: bp-messages/bp-messages-template.php

1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
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

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

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.