Warning: This function has been deprecated.
bp_friends_filter_title()
Filters the title for the Friends component
Description Description
Source Source
File: bp-core/deprecated/1.6.php
function bp_friends_filter_title() {
_deprecated_function( __FUNCTION__, '1.6', 'Since BuddyPress 1.2, BP has not supported ordering of friend lists by URL parameters.' );
$current_filter = bp_action_variable( 0 );
switch ( $current_filter ) {
case 'recently-active': default:
_e( 'Recently Active', 'buddypress' );
break;
case 'newest':
_e( 'Newest', 'buddypress' );
break;
case 'alphabetically':
_e( 'Alphabetically', 'buddypress' );
break;
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |