Remove Hidden or Public type of group?
-
Hello,
I found one topic here about that, but it didn’t have any changes for me.
And here is my code in bp-custom.php:
<?php
function my_filter_group_stati( $stati ) {
if( $key = array_search( ‘hidden’, $stati ) ) {
unset( $stati[$key] );
}return $stati;
}
add_filter( ‘groups_valid_status’, ‘my_filter_group_stati’ );
?>Any suggestion? And i would like to have only private group.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove Hidden or Public type of group?’ is closed to new replies.