#3192 closed enhancement (fixed)
bbPress Navigation integrated with BuddyPress Groups Issue
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Extend - BuddyPress | Keywords: | |
| Cc: |
Description
You are unable to alter the group navigation bar in buddypress to display any name except for Forum. This is a result of bbPress hardcoding the name and nav_item_name variables without adding apply_filters to allow for modification. The file that needs to be updated is in extend/buddypress/groups.php. the code below shows the apply_filters being adding right below the variables being set in the setup_variables function
$this->name = __( 'Forum', 'bbpress' );
$this->nav_item_name = __( 'Forum', 'bbpress' );
// add apply_filters to support buddypress navigation naming felxibility
$this->nav_item_name = apply_filters('bbp_update_nav_item_title', $this->nav_item_name);
$this->name = apply_filters('bbp_update_forum_name', $this->name);
You could probably extend the filters to other variables, but the navigation menu naming is my primary problem. Thanks.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Updated Groups.php with Filters added