- changed settings;

This commit is contained in:
Mykyta Synelnikov
2024-02-15 12:52:47 +02:00
parent 7f4d000ed2
commit 87428f9738
+18 -13
View File
@@ -1575,19 +1575,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
), ),
), ),
), ),
'redirect' => array(
'title' => __( 'Redirect', 'ultimate-member' ),
'description' => __( 'Allows to manage redirect settings.', 'ultimate-member' ),
'fields' => array(
array(
'id' => 'allow_url_redirect_confirm',
'type' => 'checkbox',
'label' => __( 'Allow external link redirect confirm', 'ultimate-member' ),
'checkbox_label' => __( 'Enable JS.confirm for external links', 'ultimate-member' ),
'description' => __( 'Using JS.confirm alert when you go to an external link.', 'ultimate-member' ),
),
),
),
), ),
), ),
), ),
@@ -2204,6 +2191,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
), ),
), ),
), ),
'developers' => array(
'title' => __( 'Developers', 'ultimate-member' ),
'form_sections' => array(
'developers' => array( 'developers' => array(
'title' => __( 'Developers', 'ultimate-member' ), 'title' => __( 'Developers', 'ultimate-member' ),
'description' => __( 'This section allows you to manage settings that will be more developer-friendly. If you are not a developer, edit these settings at your own risk.', 'ultimate-member' ), 'description' => __( 'This section allows you to manage settings that will be more developer-friendly. If you are not a developer, edit these settings at your own risk.', 'ultimate-member' ),
@@ -2226,6 +2216,21 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
), ),
), ),
), ),
'redirect' => array(
'title' => __( 'Redirect', 'ultimate-member' ),
'description' => __( 'Allows to manage redirect settings.', 'ultimate-member' ),
'fields' => array(
array(
'id' => 'allow_url_redirect_confirm',
'type' => 'checkbox',
'label' => __( 'Allow external link redirect confirm', 'ultimate-member' ),
'checkbox_label' => __( 'Enable JS.confirm for external links', 'ultimate-member' ),
'description' => __( 'Using JS.confirm alert when you go to an external link.', 'ultimate-member' ),
),
),
),
),
),
), ),
), ),
'install_info' => array( 'install_info' => array(