bp_groups_filter_title()
Displays group filter titles.
Description
Source
File: bp-groups/bp-groups-template.php
6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 | 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.