mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- changed labels;
This commit is contained in:
@@ -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' ),
|
||||
),
|
||||
|
||||
@@ -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' ),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user