- added JS hook 'um_member_directory_grid_masonry_attrs' for customizing Masonry grid settings;

- added conditional logic for 'Allow users to hide their profiles from directory' option;
- fixed getting upgrades process for the User Locations extension;
This commit is contained in:
nikitasinelnikov
2021-01-07 02:01:17 +02:00
parent 1eabb9430a
commit e1954d3d8e
4 changed files with 12 additions and 8 deletions
+5 -4
View File
@@ -717,10 +717,11 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
'tooltip' => __( 'Enable or disable a strong password rules on account page / change password tab', 'ultimate-member' ),
),
array(
'id' => 'account_hide_in_directory',
'type' => 'checkbox',
'label' => __( 'Allow users to hide their profiles from directory', 'ultimate-member' ),
'tooltip' => __( 'Whether to allow users changing their profile visibility from member directory in account page.', 'ultimate-member' ),
'id' => 'account_hide_in_directory',
'type' => 'checkbox',
'label' => __( 'Allow users to hide their profiles from directory', 'ultimate-member' ),
'tooltip' => __( 'Whether to allow users changing their profile visibility from member directory in account page.', 'ultimate-member' ),
'conditional' => array( 'account_tab_privacy', '=', '1' ),
),
array(
'id' => 'account_hide_in_directory_default',