@jolom
3 years, 4 months ago
I am also interested in this.
Is there any way to implement this?
Thank you.
5 years, 10 months ago
Thanks @Venutius, I was watching the plugin’s code and it is very simple, also saw that errors but are easy to fix.
Maybe changing text the way it does in this part?
52 // change the name of the group if it's an announce group 53 function ag_filter_group_type( $type ) { 54 if ( ag_get_announce_group() == 'announce' ) { 55 if ($type == 'Public Group') 56 $type = __('Announce Group', 'announce_group' ); 57 elseif ($type == 'Private Group') 58 $type = __('Private Announce Group', 'announce_group' ); 59 elseif ($type == 'Hidden Group') 60 $type = __('Hidden Announce Group', 'announce_group' ); 61 } 62 return $type; 63 } 64 add_filter( 'bp_get_group_type', 'ag_filter_group_type', 1 );
But I need to change on every portion that renders “Group” right?
You can use SportsPress plugin.