[buddypress-trac] [BuddyPress Trac] #7872: Errors with add_filter('bp_groups_default_extension', ... in BP 3.0

buddypress-trac noreply at wordpress.org
Fri May 25 17:26:41 UTC 2018


#7872: Errors with add_filter('bp_groups_default_extension',... in BP 3.0
--------------------------+-------------------------
 Reporter:  gcmaryland    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |
--------------------------+-------------------------
Changes (by r-a-y):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 You need to register your group extension outside the
 `'bp_groups_default_extension'` filter.

 The `'bp_groups_default_extension'` filter is only used to set the slug
 that you want to use for the group homepage:

 {{{#!php
 add_filter( 'bp_groups_default_extension', function() {
     return 'members';
 } );
 }}}

 I'm going to close this one as this isn't a bug with BP v3.0, but feel
 free to continue replying.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7872#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list