mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Add option to change Gravatar default image
This commit is contained in:
@@ -177,6 +177,17 @@ $this->sections[] = array(
|
||||
'off' => __('No','ultimatemember'),
|
||||
),
|
||||
|
||||
array(
|
||||
'id' => 'use_um_gravatar_default_image',
|
||||
'type' => 'switch',
|
||||
'title' => __( 'Use Default plugin avatar as Gravatar\'s Default avatar','ultimatemember' ),
|
||||
'default' => 0,
|
||||
'desc' => __('Do you want to use the plugin default avatar instead of the gravatar default photo (If the user did not upload a custom profile photo / avatar)','ultimatemember'),
|
||||
'on' => __('Yes','ultimatemember'),
|
||||
'off' => __('No','ultimatemember'),
|
||||
'required' => array( 'use_gravatars', '=', 1 ),
|
||||
),
|
||||
|
||||
array(
|
||||
'id' => 'reset_require_strongpass',
|
||||
'type' => 'switch',
|
||||
|
||||
Reference in New Issue
Block a user