#3975 closed enhancement (fixed)
add filtering of message to bp_group_status_message()
Reported by: | sboisvert | Owned by: | DJPaul |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | trivial | Version: | 1.5.3 |
Component: | Groups | Keywords: | has-patch |
Cc: | sboisvert |
Description
This small patch adds the ability to filter the message that is displayed by bp_group_status_message()
echo apply_filters('bp_group_status_message',$message,$group,$status,$bp_group_has_requested_membership, $is_user_logged_in);
Attachments (1)
Change History (5)
#1
@
13 years ago
- Milestone changed from Awaiting Review to 1.6
- Owner set to DJPaul
- Status changed from new to assigned
#2
@
13 years ago
I added some phpdoc and tweaked your patch a little, sboisvert -- the filter didn't need all those arguments passed to it, as the callback function could just get those itself.
Note: See
TracTickets for help on using
tickets.
C:\Users\sboisvert\Documents\NuSphere PhpED\Projects\wordpressPEER1\wp-content\