bp_get_messages_starred_slug()

Return the starred messages slug. Defaults to ‘starred’.

Description

Return

(string)

Source

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

function bp_get_messages_starred_slug() {
	/**
	 * Filters the starred message slug.
	 *
	 * @since BuddyPress 2.3.0
	 *
	 * @param string
	 */
	return sanitize_title( apply_filters( 'bp_get_messages_starred_slug', 'starred' ) );
}

Changelog

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