Change the Sort By Username label in User Listing

This function changes the Sort By Username label from User Listing.

sort_user_name_filter is located in Profile Builder: /modules/user-listing/userlisting.php

1
2
3
4
5
6
7
8
/*
 * Change the Sort By Username label in User Listing
 */
 
add_filter( 'sort_user_name_filter', 'wppbc_change_sort_username' );
function wppbc_change_sort_username( $label ) {
   return 'Custom_label_name';
}

Profile Builder Pro

Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.

Unlock PRO Features

Or download FREE version