mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- removed UM prefix before UM custom roles;
This commit is contained in:
@@ -2563,12 +2563,12 @@ if ( ! class_exists( 'Fields' ) ) {
|
||||
$res = apply_filters("um_view_field_value_{$type}", $res, $data );
|
||||
|
||||
|
||||
if ( $key == 'role_radio' || $key == 'role_select' ) {
|
||||
/* if ( $key == 'role_radio' || $key == 'role_select' ) {
|
||||
$role_meta = UM()->roles()->role_data( um_user( 'role' ) );
|
||||
if ( ! empty( $role_meta['is_custom'] ) ) {
|
||||
$res = 'UM ' . $res;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
$output .= '<div class="um-field-area">';
|
||||
$output .= '<div class="um-field-value">' . $res . '</div>';
|
||||
|
||||
Reference in New Issue
Block a user