Make the single profile URL work with user nicename

This filter will make the Single Userlisting permalinks to use the user nicename instead of user_id.

1
2
3
4
/*
 * Make user listing work with the nicename.
 */
add_filter('wppb_userlisting_get_user_by_id', '__return_false');

After adding it go to Settings -> Permalinks and hit Save Changes.