mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
Add option to allow users to hide profiles from member page
This commit is contained in:
@@ -274,6 +274,16 @@ $this->sections[] = array(
|
||||
'off' => __('Off','ultimatemember'),
|
||||
),
|
||||
|
||||
array(
|
||||
'id' => 'account_hide_in_directory',
|
||||
'type' => 'switch',
|
||||
'title' => __( 'Allow users to hide their profiles from directory','ultimatemember' ),
|
||||
'default' => 1,
|
||||
'desc' => __('Whether to allow users changing their profile visibility from member directory in account page.','ultimatemember'),
|
||||
'on' => __('On','ultimatemember'),
|
||||
'off' => __('Off','ultimatemember'),
|
||||
),
|
||||
|
||||
array(
|
||||
'id' => 'account_require_strongpass',
|
||||
'type' => 'switch',
|
||||
|
||||
Reference in New Issue
Block a user