Add filter hook to modify first and last name cases

This commit is contained in:
champsupertramp
2016-08-18 16:09:04 +08:00
parent 1fa4944e2b
commit edad4d4c99
+2
View File
@@ -1379,6 +1379,8 @@ function um_fetch_user( $user_id ) {
$name = implode('-', array_map('ucfirst', explode('-', $name ) ) );
}
$name = apply_filters("um_user_{$data}_case", $name );
return $name;
break;