bp_groups_filter_title()
Displays group filter titles.
Description
Source
File: bp-groups/bp-groups-template.php
function bp_groups_filter_title() { $current_filter = bp_action_variable( 0 ); switch ( $current_filter ) { case 'recently-active': default: _e( 'Recently Active', 'buddyboss' ); break; case 'recently-joined': _e( 'Recently Joined', 'buddyboss' ); break; case 'most-popular': _e( 'Most Popular', 'buddyboss' ); break; case 'admin-of': _e( 'Administrator Of', 'buddyboss' ); break; case 'mod-of': _e( 'Moderator Of', 'buddyboss' ); break; case 'alphabetically': _e( 'Alphabetically', 'buddyboss' ); break; } do_action( 'bp_groups_filter_title' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.