bp_nouveau_format_notice_notification_for_user( $array )

Format for notice notifications.

Description

Source

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

248
249
250
251
252
253
254
255
256
257
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', 'buddyboss' ),
        'link' => bp_loggedin_user_domain(),
    );
}

Changelog

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