bp_nouveau_template_message_classes()
Add classes to style the template notice/feedback message
Description
Source
File: bp-templates/bp-nouveau/includes/template-tags.php
function bp_nouveau_template_message_classes() { $classes = array( 'bp-feedback', 'bp-messages' ); if ( ! empty( bp_nouveau()->template_message['message'] ) ) { $classes[] = 'bp-template-notice'; } $classes[] = bp_nouveau_get_template_message_type(); echo join( ' ', array_map( 'sanitize_html_class', $classes ) ); }
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.