-
Henna Bakker's profile was updated 2 years, 5 months ago
-
Dmitriy's profile was updated 2 years, 5 months ago
-
tb's profile was updated 2 years, 5 months ago
-
GraysonRamon's profile was updated 2 years, 5 months ago
-
Jack Clements's profile was updated 2 years, 5 months ago
-
amherstdivorce's profile was updated 2 years, 5 months ago
-
SOLAR SLATE TILES's profile was updated 2 years, 5 months ago
-
strongroofingsrqfl's profile was updated 2 years, 5 months ago
-
moversinseattlewa's profile was updated 2 years, 5 months ago
-
Paola Rios's profile was updated 2 years, 5 months ago
-
meteor138's profile was updated 2 years, 5 months ago
-
Pablo Rios's profile was updated 2 years, 5 months ago
-
Jacob Hayes's profile was updated 2 years, 5 months ago
-
Carlos Perez's profile was updated 2 years, 5 months ago
-
Darryl Miller's profile was updated 2 years, 5 months ago
-
Stemazing Connections recruits employees for STEM businesses's profile was updated 2 years, 5 months ago
-
Pierre l'expert comptable Paris's profile was updated 2 years, 5 months ago
-
iChauffeur Melbourne's profile was updated 2 years, 5 months ago
-
เทคโนโลยีสารสนเทศคืออะไร และประโยชน์เทคโนโลยีสารสนเทศ's profile was updated 2 years, 5 months ago
-
Philippe Roussel started the topic Removing "Leave Group" button in the forum Installing BuddyPress 2 years, 5 months ago
Hi,
I tried the following php but it does not work.
Thanks for your help.
function buddydev_remove_leave_group_button( $btn ) {
if ( $btn[‘id’] == ‘leave_group’ ) {
unset( $btn[‘id’] );
}return $btn;
}
add_filter( ‘bp_get_group_join_button’, ‘buddydev_remove_leave_group_button’ ); - Load More