bp_nouveau_format_notice_notification_for_user( $array )
Format for notice notifications.
Description
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', 'buddyboss' ), 'link' => bp_loggedin_user_domain(), ); }
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.