Changes between Initial Version and Version 1 of Ticket #7736, comment 1
- Timestamp:
- 04/03/2018 12:57:45 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7736, comment 1
initial v1 1 1 If you filter `'bp_get_groups_slug'`, you are changing how the `bp_is_groups_component()` function is returned. That function will always return false on your customized groups page. 2 2 3 So what you'll have to do is to also filter `'bp_is_current_component'` so `bp_is_groups_component()` will return true with your custom group slug. 3 So what you'll have to do is to also filter `'bp_is_current_component'` so `bp_is_groups_component()` will return true with your custom group slug: 4 https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-core/bp-core-template.php?marks=1706-1714#L1706 4 5 5 6 I'm not sure if this is something that BuddyPress core should automatically implement or not, but that should get you up-and-running.