Version 1.0.30

This commit is contained in:
ultimatemember
2015-01-29 15:52:13 +02:00
parent 78833fa2e3
commit df37a3164f
17 changed files with 465 additions and 364 deletions
+17
View File
@@ -1265,6 +1265,23 @@ $this->sections[] = array(
),
),
array(
'id' => 'profile_empty_text',
'type' => 'switch',
'title' => __( 'Show a custom message if profile is empty' ),
'default' => um_get_metadefault('profile_empty_text'),
'desc' => 'Switch on/off the custom message that appears when the profile is empty',
),
array(
'id' => 'profile_empty_text_emo',
'type' => 'switch',
'title' => __( 'Show the emoticon' ),
'default' => um_get_metadefault('profile_empty_text_emo'),
'desc' => 'Switch on/off the emoticon (sad face) that appears above the message',
'required' => array( 'profile_empty_text', '=', 1 ),
),
)
);