- changed labels;

This commit is contained in:
Nikita Sinelnikov
2021-07-27 16:03:29 +03:00
parent a4f41c79e4
commit 2edddc18fe
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -448,8 +448,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
array(
'id' => '_um_restrict_custom_message',
'type' => 'wp_editor',
'label' => __( 'Custom Restrict Content message', 'ultimate-member' ),
'description' => __( 'You may replace global restrict message here', 'ultimate-member' ),
'label' => __( 'Custom restricted access message', 'ultimate-member' ),
'description' => __( 'You may replace global restricted access message here', 'ultimate-member' ),
'value' => '',
'conditional' => array( '_um_restrict_by_custom_message', '=', '1' ),
),
@@ -600,8 +600,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
array(
'id' => '_um_restrict_custom_message',
'type' => 'wp_editor',
'label' => __( 'Custom Restrict Content message', 'ultimate-member' ),
'description' => __( 'You may replace global restrict message here', 'ultimate-member' ),
'label' => __( 'Custom restricted access message', 'ultimate-member' ),
'description' => __( 'You may replace global restricted access message here', 'ultimate-member' ),
'value' => ! empty( $data['_um_restrict_custom_message'] ) ? $data['_um_restrict_custom_message'] : '',
'conditional' => array( '_um_restrict_by_custom_message', '=', '1' ),
),
+4 -4
View File
@@ -587,8 +587,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
array(
'id' => 'restricted_access_post_metabox',
'type' => 'multi_checkbox',
'label' => __( 'Restricted Access to Posts', 'ultimate-member' ),
'tooltip' => __( 'Restriction content of the current Posts', 'ultimate-member' ),
'label' => __( 'Enable the "Content Restriction" settings for post types', 'ultimate-member' ),
'tooltip' => __( '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,
@@ -597,8 +597,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
array(
'id' => 'restricted_access_taxonomy_metabox',
'type' => 'multi_checkbox',
'label' => __( 'Restricted Access to Taxonomies', 'ultimate-member' ),
'tooltip' => __( 'Restriction content of the current Taxonomies', 'ultimate-member' ),
'label' => __( 'Enable the "Content Restriction" settings for taxonomies', 'ultimate-member' ),
'tooltip' => __( '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,
@@ -113,8 +113,8 @@ if ( ! defined( 'ABSPATH' ) ) {
array(
'id' => '_um_restrict_custom_message',
'type' => 'wp_editor',
'label' => __( 'Custom Restrict Content message', 'ultimate-member' ),
'tooltip' => __( 'You may replace global restrict message here', 'ultimate-member' ),
'label' => __( 'Custom restricted access message', 'ultimate-member' ),
'tooltip' => __( 'You may replace global restricted access message here', 'ultimate-member' ),
'value' => ! empty( $data['_um_restrict_custom_message'] ) ? $data['_um_restrict_custom_message'] : '',
'conditional' => array( '_um_restrict_by_custom_message', '=', '1' ),
),