bp_get_notifications_slug()
Return the notifications component slug.
Description Description
Return Return
(string) Slug of the Notifications component.
Source Source
File: bp-notifications/bp-notifications-template.php
function bp_get_notifications_slug() {
/**
* Filters the notifications component slug.
*
* @since 1.9.0
*
* @param string $slug Notifications component slug.
*/
return apply_filters( 'bp_get_notifications_slug', buddypress()->notifications->slug );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |