mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added profile tab privacy 'Owner + Specific roles';
This commit is contained in:
@@ -336,7 +336,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'tooltip' => __( 'Select the the user roles allowed to view this tab.', 'ultimate-member' ),
|
||||
'options' => UM()->roles()->get_roles(),
|
||||
'placeholder' => __( 'Choose user roles...', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_tab_' . $id . '_privacy', '=', 4 ),
|
||||
'conditional' => array( 'profile_tab_' . $id . '_privacy', '=', [ '4', '5' ] ),
|
||||
'size' => 'small'
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user