bp_get_notifications_slug()

Return the notifications component slug.

Description

Return

(string) Slug of the Notifications component.

Source

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

	function bp_get_notifications_slug() {

		/**
		 * Filters the notifications component slug.
		 *
		 * @since BuddyPress 1.9.0
		 *
		 * @param string $slug Notifications component slug.
		 */
		return apply_filters( 'bp_get_notifications_slug', buddypress()->notifications->slug );
	}

Changelog

Changelog
Version Description
BuddyPress 1.9.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.