bp_nouveau_format_notice_notification_for_user( $array )


Source Source

File: bp-templates/bp-nouveau/includes/messages/functions.php

function bp_nouveau_format_notice_notification_for_user( $array ) {
	if ( ! empty( $array['text'] ) || ! doing_action( 'admin_bar_menu' ) ) {
		return $array;
	}

	return array(
		'text' => __( 'New sitewide notice', 'buddypress' ),
		'link' => bp_loggedin_user_domain(),
	);
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.