- added profile tab privacy 'Owner + Specific roles';

This commit is contained in:
nikitasinelnikov
2021-03-12 03:46:45 +02:00
parent acafea2e6e
commit 8a6f041407
4 changed files with 51 additions and 6 deletions
+1 -1
View File
@@ -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'
)
);