bp_nouveau_groups_invites_custom_message( $message = '' )
Returns group invite custom message.
Description
Source
File: bp-templates/bp-nouveau/includes/groups/functions.php
function bp_nouveau_groups_invites_custom_message( $message = '' ) { if ( empty( $message ) ) { return $message; } $bp = buddypress(); if ( empty( $bp->groups->invites_message ) ) { return $message; } $message = str_replace( '---------------------', " ---------------------\n " . $bp->groups->invites_message . "\n --------------------- ", $message ); return $message; }
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.