mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 19:56:27 +09:00
- updated settings texts;
This commit is contained in:
@@ -486,7 +486,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_menu_default_tab',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile menu default tab', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default tab on user profile page', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default tab on user profile page.', 'ultimate-member' ),
|
||||
'options' => $tabs_options,
|
||||
'conditional' => array( implode( '|', $tabs_condition ), '~', 1 ),
|
||||
'size' => 'small',
|
||||
@@ -504,7 +504,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Menu icons in desktop view', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Enable menu icons in desktop view', 'ultimate-member' ),
|
||||
'description' => __( '"Desktop view" means the profile block\'s width lower than 800px', 'ultimate-member' ),
|
||||
'description' => __( '"Desktop view" means the profile block\'s width lower than 800px.', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_menu', '=', 1 ),
|
||||
),
|
||||
)
|
||||
@@ -581,14 +581,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'a$access_fieldsccess_redirect',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Custom Redirect URL', 'ultimate-member' ),
|
||||
'description' => __( 'A logged out user will be redirected to this url If he is not permitted to access the site', 'ultimate-member' ),
|
||||
'description' => __( 'A logged out user will be redirected to this url If he is not permitted to access the site.', 'ultimate-member' ),
|
||||
'conditional' => array( 'accessible', '=', 2 ),
|
||||
),
|
||||
array(
|
||||
'id' => 'access_exclude_uris',
|
||||
'type' => 'multi_text',
|
||||
'label' => __( 'Exclude the following URLs', 'ultimate-member' ),
|
||||
'description' => __( 'Here you can exclude URLs beside the redirect URI to be accessible to everyone', 'ultimate-member' ),
|
||||
'description' => __( 'Here you can exclude URLs beside the redirect URI to be accessible to everyone.', 'ultimate-member' ),
|
||||
'add_text' => __( 'Add New URL', 'ultimate-member' ),
|
||||
'conditional' => array( 'accessible', '=', 2 ),
|
||||
'show_default_number' => 0,
|
||||
@@ -612,7 +612,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Restricted Post Title', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Replace the restricted Post Title', 'ultimate-member' ),
|
||||
'description' => __( 'Allow to replace the restricted post title to users that do not have permission to view the content', 'ultimate-member' ),
|
||||
'description' => __( 'Allow to replace the restricted post title to users that do not have permission to view the content.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'restricted_access_post_title',
|
||||
@@ -625,7 +625,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'restricted_access_message',
|
||||
'type' => 'wp_editor',
|
||||
'label' => __( 'Restricted Access Message', 'ultimate-member' ),
|
||||
'description' => __( 'This is the message shown to users that do not have permission to view the content', 'ultimate-member' ),
|
||||
'description' => __( 'This is the message shown to users that do not have permission to view the content.', 'ultimate-member' ),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -669,13 +669,13 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Restricted Gutenberg Blocks', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Enable the "Content Restriction" settings for the Gutenberg Blocks', 'ultimate-member' ),
|
||||
'description' => __( 'If enabled then allows to set the blocks restriction settings in wp-admin', 'ultimate-member' ),
|
||||
'description' => __( 'If enabled then allows to set the blocks restriction settings in wp-admin.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'restricted_block_message',
|
||||
'type' => 'textarea',
|
||||
'label' => __( 'Restricted Access Block Message', 'ultimate-member' ),
|
||||
'description' => __( 'This is the message shown to users that do not have permission to view the block\'s content', 'ultimate-member' ),
|
||||
'description' => __( 'This is the message shown to users that do not have permission to view the block\'s content.', 'ultimate-member' ),
|
||||
'conditional' => array( 'restricted_blocks', '=', 1 ),
|
||||
),
|
||||
)
|
||||
@@ -706,7 +706,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'restricted_access_post_metabox',
|
||||
'type' => 'multi_checkbox',
|
||||
'label' => __( 'Enable the "Content Restriction" settings for post types', 'ultimate-member' ),
|
||||
'description' => __( 'Check post types for which you plan to use the "Content Restriction" settings', 'ultimate-member' ),
|
||||
'description' => __( 'Check post types for which you plan to use the "Content Restriction" settings.', 'ultimate-member' ),
|
||||
'options' => $post_types_options,
|
||||
'columns' => 3,
|
||||
'value' => $restricted_access_post_metabox_value,
|
||||
@@ -716,7 +716,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'restricted_access_taxonomy_metabox',
|
||||
'type' => 'multi_checkbox',
|
||||
'label' => __( 'Enable the "Content Restriction" settings for taxonomies', 'ultimate-member' ),
|
||||
'description' => __( 'Check taxonomies for which you plan to use the "Content Restriction" settings', 'ultimate-member' ),
|
||||
'description' => __( 'Check taxonomies for which you plan to use the "Content Restriction" settings.', 'ultimate-member' ),
|
||||
'options' => $taxonomies_options,
|
||||
'columns' => 3,
|
||||
'value' => $restricted_access_taxonomy_metabox_value,
|
||||
@@ -1150,14 +1150,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Hide author pages', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Enable automatically redirect author page to their profile', 'ultimate-member' ),
|
||||
'description' => __( 'If enabled, author pages will automatically redirect to the user\'s profile page', 'ultimate-member' ),
|
||||
'description' => __( 'If enabled, author pages will automatically redirect to the user\'s profile page.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'members_page',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Members Directory', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Enable Members Directory', 'ultimate-member' ),
|
||||
'description' => __( 'Control whether to enable or disable member directories on this site', 'ultimate-member' ),
|
||||
'description' => __( 'Control whether to enable or disable member directories on this site.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'use_gravatars',
|
||||
@@ -1170,7 +1170,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'use_um_gravatar_default_builtin_image',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Use Gravatar builtin image', 'ultimate-member' ),
|
||||
'description' => __( 'Gravatar has a number of built in options which you can also use as defaults', 'ultimate-member' ),
|
||||
'description' => __( 'Gravatar has a number of built in options which you can also use as defaults.', 'ultimate-member' ),
|
||||
'options' => array(
|
||||
'default' => __( 'Default', 'ultimate-member' ),
|
||||
'404' => __( '404 ( File Not Found response )', 'ultimate-member' ),
|
||||
@@ -1189,7 +1189,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Replace Gravatar\'s Default avatar', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Set Default plugin avatar as Gravatar\'s Default avatar', 'ultimate-member' ),
|
||||
'description' => __( '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)', 'ultimate-member' ),
|
||||
'description' => __( '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).', 'ultimate-member' ),
|
||||
'conditional' => array( 'use_um_gravatar_default_builtin_image', '=', 'default' ),
|
||||
),
|
||||
array(
|
||||
@@ -1347,7 +1347,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Privacy Account Tab', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Display privacy account tab', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Privacy account tab in account page', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Privacy account tab in account page.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'account_hide_in_directory',
|
||||
@@ -1361,7 +1361,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'account_hide_in_directory_default',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Hide profiles from directory by default', 'ultimate-member' ),
|
||||
'description' => __( 'Set default value for the "Hide my profile from directory" option', 'ultimate-member' ),
|
||||
'description' => __( 'Set default value for the "Hide my profile from directory" option.', 'ultimate-member' ),
|
||||
'options' => array(
|
||||
'No' => __( 'No', 'ultimate-member' ),
|
||||
'Yes' => __( 'Yes', 'ultimate-member' ),
|
||||
@@ -1380,7 +1380,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Notifications Account Tab', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Display notifications account tab', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Notifications account tab in account page', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Notifications account tab in account page.', 'ultimate-member' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1393,7 +1393,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Delete Account Tab', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Display delete account tab', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Delete account tab in account page', 'ultimate-member' ),
|
||||
'description' => __( 'Enable/disable the Delete account tab in account page.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'delete_account_text',
|
||||
@@ -1458,7 +1458,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'size' => 'small',
|
||||
'label' => __( 'Profile Photo Maximum File Size (bytes)', 'ultimate-member' ),
|
||||
'description' => __( 'Sets a maximum size for the uploaded photo', 'ultimate-member' ),
|
||||
'description' => __( 'Sets a maximum size for the uploaded photo.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'photo_thumb_sizes',
|
||||
@@ -1481,14 +1481,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'size' => 'small',
|
||||
'label' => __( 'Cover Photo Maximum File Size (bytes)', 'ultimate-member' ),
|
||||
'description' => __( 'Sets a maximum size for the uploaded cover', 'ultimate-member' ),
|
||||
'description' => __( 'Sets a maximum size for the uploaded cover.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'cover_min_width',
|
||||
'type' => 'text',
|
||||
'size' => 'small',
|
||||
'label' => __( 'Cover Photo Minimum Width (px)', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the minimum width for cover photo uploads', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the minimum width for cover photo uploads.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'cover_thumb_sizes',
|
||||
@@ -1519,7 +1519,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'form_sections' => array(
|
||||
'rp' => array(
|
||||
'title' => __( 'Reset Password', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage reset password settings', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage reset password settings.', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'enable_reset_password_limit',
|
||||
@@ -1554,19 +1554,19 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'blocked_emails',
|
||||
'type' => 'textarea',
|
||||
'label' => __( 'Blocked Email Addresses (Enter one email per line)', 'ultimate-member' ),
|
||||
'description' => __( 'This will block the specified e-mail addresses from being able to sign up or sign in to your site. To block an entire domain, use something like *@domain.com', 'ultimate-member' ),
|
||||
'description' => __( 'This will block the specified e-mail addresses from being able to sign up or sign in to your site. To block an entire domain, use something like `*@domain.com`.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'blocked_words',
|
||||
'type' => 'textarea',
|
||||
'label' => __( 'Blacklist Words (Enter one word per line)', 'ultimate-member' ),
|
||||
'description' => __( 'This option lets you specify blacklist of words to prevent anyone from signing up with such a word as their username', 'ultimate-member' ),
|
||||
'description' => __( 'This option lets you specify blacklist of words to prevent anyone from signing up with such a word as their username.', 'ultimate-member' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
'fields' => array(
|
||||
'title' => __( 'Fields', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage fields settings', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage fields settings.', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'allowed_choice_callbacks',
|
||||
@@ -1578,7 +1578,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
),
|
||||
'redirect' => array(
|
||||
'title' => __( 'Redirect', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage redirect settings', 'ultimate-member' ),
|
||||
'description' => __( 'Allows to manage redirect settings.', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'allow_url_redirect_confirm',
|
||||
@@ -1604,19 +1604,19 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'admin_email',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Admin E-mail Address', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. admin@companyname.com', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. admin@companyname.com.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'mail_from',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Mail appears from', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. Site Name', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. Site Name.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'mail_from_addr',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Mail appears from address', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. admin@companyname.com', 'ultimate-member' ),
|
||||
'description' => __( 'e.g. admin@companyname.com.', 'ultimate-member' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1649,7 +1649,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Default Template', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output profile', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output profile.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'profile' ),
|
||||
'size' => 'small',
|
||||
@@ -1659,7 +1659,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_max_width' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width.', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
@@ -1667,7 +1667,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Area Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_area_max_width' ),
|
||||
'description' => __( 'The maximum width of the profile area inside profile (below profile header)', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width of the profile area inside profile (below profile header).', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
),
|
||||
@@ -1691,7 +1691,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Profile Photo Upload', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Disable Profile Photo Upload', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the profile photo uploader', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the profile photo uploader.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'disable_profile_photo_upload' ),
|
||||
),
|
||||
array(
|
||||
@@ -1700,7 +1700,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Photo Size', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_photosize' ),
|
||||
'options' => UM()->files()->get_profile_photo_size( 'photo_thumb_sizes' ),
|
||||
'description' => __( 'The global default of profile photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'description' => __( 'The global default of profile photo size. This can be overridden by individual form settings.', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
),
|
||||
@@ -1725,7 +1725,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Cover Photos', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Enable Cover Photos', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_cover_enabled' ),
|
||||
'description' => __( 'Switch on/off the profile cover photos', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the profile cover photos.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_coversize',
|
||||
@@ -1733,7 +1733,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Cover Size', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_coversize' ),
|
||||
'options' => UM()->files()->get_profile_photo_size( 'cover_thumb_sizes' ),
|
||||
'description' => __( 'The global default width of cover photo size. This can be overridden by individual form settings', 'ultimate-member' ),
|
||||
'description' => __( 'The global default width of cover photo size. This can be overridden by individual form settings.', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_cover_enabled', '=', 1 ),
|
||||
'size' => 'small',
|
||||
),
|
||||
@@ -1741,7 +1741,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_cover_ratio',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Cover Ratio', 'ultimate-member' ),
|
||||
'description' => __( 'Choose global ratio for cover photos of profiles', 'ultimate-member' ),
|
||||
'description' => __( 'Choose global ratio for cover photos of profiles.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_cover_ratio' ),
|
||||
'options' => array(
|
||||
'1.6:1' => '1.6:1',
|
||||
@@ -1764,7 +1764,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Header Meta Text Icon', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show icons in Profile Header Meta', 'ultimate-member' ),
|
||||
'default' => 0,
|
||||
'description' => __( 'Display field icons for related user meta fields in header or not', 'ultimate-member' ),
|
||||
'description' => __( 'Display field icons for related user meta fields in header or not.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_name',
|
||||
@@ -1772,7 +1772,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Display name in profile header', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show display name in profile header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_name' ),
|
||||
'description' => __( 'Switch on/off the user name on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the user name on profile header.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_social_links',
|
||||
@@ -1780,7 +1780,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Social links in profile header', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show social links in profile header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_social_links' ),
|
||||
'description' => __( 'Switch on/off the social links on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the social links on profile header.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_show_bio',
|
||||
@@ -1788,7 +1788,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'User description in profile header', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show user description in profile header', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_show_bio' ),
|
||||
'description' => __( 'Switch on/off the user description on profile header', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the user description on profile header.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_bio_maxchars',
|
||||
@@ -1829,7 +1829,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_primary_btn_word' ),
|
||||
'description' => __( 'The text that is used for updating profile button', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for updating profile button.', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
@@ -1838,14 +1838,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Profile Secondary Button', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show Profile Secondary Button', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_secondary_btn' ),
|
||||
'description' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the secondary button display in the form.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Profile Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_secondary_btn_word' ),
|
||||
'description' => __( 'The text that is used for cancelling update profile button', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for cancelling update profile button.', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1853,7 +1853,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'profile_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Profile Field Icons', 'ultimate-member' ),
|
||||
'description' => __( 'This is applicable for edit mode only', 'ultimate-member' ),
|
||||
'description' => __( 'This is applicable for edit mode only.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
@@ -1868,7 +1868,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Custom message on empty profile', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show a custom message if profile is empty', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_empty_text' ),
|
||||
'description' => __( 'Switch on/off the custom message that appears when the profile is empty', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the custom message that appears when the profile is empty.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'profile_empty_text_emo',
|
||||
@@ -1876,7 +1876,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Custom message emoticon', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show the emoticon', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'profile_empty_text_emo' ),
|
||||
'description' => __( 'Switch on/off the emoticon (sad face) that appears above the message', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the emoticon (sad face) that appears above the message.', 'ultimate-member' ),
|
||||
'conditional' => array( 'profile_empty_text', '=', 1 ),
|
||||
),
|
||||
),
|
||||
@@ -1899,7 +1899,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_role',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Default Role', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default role assigned to users registering thru registration form', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default role assigned to users registering thru registration form.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_role' ),
|
||||
'options' => UM()->roles()->get_roles( __( 'Default', 'ultimate-member' ) ),
|
||||
'size' => 'small',
|
||||
@@ -1914,7 +1914,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Default Template', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output registration', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output registration.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'register' ),
|
||||
'size' => 'small',
|
||||
@@ -1924,14 +1924,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_max_width' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width.', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'register_align',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Shortcode Alignment', 'ultimate-member' ),
|
||||
'description' => __( 'The shortcode is centered by default unless you specify otherwise here', 'ultimate-member' ),
|
||||
'description' => __( 'The shortcode is centered by default unless you specify otherwise here.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_align' ),
|
||||
'options' => array(
|
||||
'center' => __( 'Centered', 'ultimate-member' ),
|
||||
@@ -1951,7 +1951,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_primary_btn_word' ),
|
||||
'description' => __( 'The text that is used for primary button text', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for primary button text.', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
@@ -1960,14 +1960,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Registration Secondary Button', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show Registration Secondary Button', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
'description' => __( 'Switch on/off the secondary button display in the form.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'register_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_secondary_btn_word' ),
|
||||
'description' => __( 'The text that is used for the secondary button text', 'ultimate-member' ),
|
||||
'description' => __( 'The text that is used for the secondary button text.', 'ultimate-member' ),
|
||||
'conditional' => array( 'register_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1976,7 +1976,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'type' => 'text',
|
||||
'label' => __( 'Registration Secondary Button URL', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_secondary_btn_url' ),
|
||||
'description' => __( 'You can replace default link for this button by entering custom URL', 'ultimate-member' ),
|
||||
'description' => __( 'You can replace default link for this button by entering custom URL.', 'ultimate-member' ),
|
||||
'conditional' => array( 'register_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
@@ -1984,7 +1984,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'register_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Registration Field Icons', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the display of field icons in the registration form', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the display of field icons in the registration form.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'register_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
@@ -1998,99 +1998,112 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
),
|
||||
),
|
||||
'login_form' => array(
|
||||
'title' => __( 'Login Form', 'ultimate-member' ),
|
||||
'description' => __( 'This section allows you to customize Ultimate Member login form on your site.', 'ultimate-member' ),
|
||||
// 'form_sections' => array(),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'login_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Default Template', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output login', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'login' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_max_width',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_max_width' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_align',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Shortcode Alignment', 'ultimate-member' ),
|
||||
'description' => __( 'The shortcode is centered by default unless you specify otherwise here', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_align' ),
|
||||
'options' => array(
|
||||
'center' => __( 'Centered', 'ultimate-member' ),
|
||||
'left' => __( 'Left aligned', 'ultimate-member' ),
|
||||
'right' => __( 'Right aligned', 'ultimate-member' ),
|
||||
'title' => __( 'Login Form', 'ultimate-member' ),
|
||||
'form_sections' => array(
|
||||
'template' => array(
|
||||
'title' => __( 'Template', 'ultimate-member' ),
|
||||
'description' => __( 'This section allows you to customize the user login template and size.', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'login_template',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Default Template', 'ultimate-member' ),
|
||||
'description' => __( 'This will be the default template to output login.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_template' ),
|
||||
'options' => UM()->shortcodes()->get_templates( 'login' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_max_width',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Maximum Width', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_max_width' ),
|
||||
'description' => __( 'The maximum width this shortcode can take from the page width.', 'ultimate-member' ),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_align',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Shortcode Alignment', 'ultimate-member' ),
|
||||
'description' => __( 'The shortcode is centered by default unless you specify otherwise here.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_align' ),
|
||||
'options' => array(
|
||||
'center' => __( 'Centered', 'ultimate-member' ),
|
||||
'left' => __( 'Left aligned', 'ultimate-member' ),
|
||||
'right' => __( 'Right aligned', 'ultimate-member' ),
|
||||
),
|
||||
'size' => 'small',
|
||||
),
|
||||
),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Field Icons', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the display of field icons in the login form', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
'label' => __( 'Show with label', 'ultimate-member' ),
|
||||
'off' => __( 'Turn off', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
'title' => __( 'Buttons & Fields', 'ultimate-member' ),
|
||||
'description' => __( 'This section allows you to customize the user login buttons and fields layout.', 'ultimate-member' ),
|
||||
'fields' => array(
|
||||
array(
|
||||
'id' => 'login_primary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_primary_btn_word' ),
|
||||
'description' => __( 'The text that is used for primary button text.', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Login Secondary Button', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show Login Secondary Button', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Switch on/off the secondary button display in the form.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_secondary_btn_word' ),
|
||||
'description' => __( 'The text that is used for the secondary button text.', 'ultimate-member' ),
|
||||
'conditional' => array( 'login_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn_url',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Secondary Button URL', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_secondary_btn_url' ),
|
||||
'description' => __( 'You can replace default link for this button by entering custom URL.', 'ultimate-member' ),
|
||||
'conditional' => array( 'login_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_forgot_pass_link',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Login Forgot Password Link', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show Login Forgot Password Link', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Switch on/off the forgot password link in login form.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'login_show_rememberme',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( '"Remember Me" checkbox', 'ultimate-member' ),
|
||||
'checkbox_label' => __( 'Show "Remember Me" checkbox', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Allow users to choose If they want to stay signed in even after closing the browser. If you do not show this option, the default will be to not remember login session.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'login_icons',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Login Field Icons', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the display of field icons in the login form.', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_icons' ),
|
||||
'options' => array(
|
||||
'field' => __( 'Show inside text field', 'ultimate-member' ),
|
||||
'label' => __( 'Show with label', 'ultimate-member' ),
|
||||
'off' => __( 'Turn off', 'ultimate-member' ),
|
||||
),
|
||||
'size' => 'small',
|
||||
),
|
||||
),
|
||||
'size' => 'small',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_primary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Primary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_primary_btn_word' ),
|
||||
'description' => __( 'The text that is used for primary button text', 'ultimate-member' ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Login Secondary Button', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Switch on/off the secondary button display in the form', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn_word',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Secondary Button Text', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_secondary_btn_word' ),
|
||||
'description' => __( 'The text that is used for the secondary button text', 'ultimate-member' ),
|
||||
'conditional' => array( 'login_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_secondary_btn_url',
|
||||
'type' => 'text',
|
||||
'label' => __( 'Login Secondary Button URL', 'ultimate-member' ),
|
||||
'default' => um_get_metadefault( 'login_secondary_btn_url' ),
|
||||
'description' => __( 'You can replace default link for this button by entering custom URL', 'ultimate-member' ),
|
||||
'conditional' => array( 'login_secondary_btn', '=', 1 ),
|
||||
'size' => 'medium',
|
||||
),
|
||||
array(
|
||||
'id' => 'login_forgot_pass_link',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Login Forgot Password Link', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Switch on/off the forgot password link in login form', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'login_show_rememberme',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show "Remember Me"', 'ultimate-member' ),
|
||||
'default' => 1,
|
||||
'description' => __( 'Allow users to choose If they want to stay signed in even after closing the browser. If you do not show this option, the default will be to not remember login session.', 'ultimate-member' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -2125,7 +2138,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'id' => 'rest_api_version',
|
||||
'type' => 'select',
|
||||
'label' => __( 'REST API version', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the REST API version, we recommend to use the last version', 'ultimate-member' ),
|
||||
'description' => __( 'This controls the REST API version, we recommend to use the last version.', 'ultimate-member' ),
|
||||
'options' => array(
|
||||
'1.0' => __( '1.0 version', 'ultimate-member' ),
|
||||
'2.0' => __( '2.0 version', 'ultimate-member' ),
|
||||
|
||||
Reference in New Issue
Block a user