Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Groups page – order by, using url variable to select order

@modemlooper

Moderator

Something like this BUT you will have load more issues as you need to set cookies for this (bp-groups-filter)

function bp_filter_alpha( $retval ) {
    $retval['type'] = 'alphabetical';
    return $retval;
}
if( 'alphabetical' === $_GET['type'] ) {
    add_filter( 'bp_after_has_groups_parse_args', 'bp_filter_alpha' );
}
Skip to toolbar