mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- updated forms labels;
This commit is contained in:
@@ -81,7 +81,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
array(
|
||||
'id' => '_um_access_hide_from_queries',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Would you like to exclude post from WP Query when users haven\'t access?', 'ultimate-member' ),
|
||||
'label' => __( 'Would you like to display 404 page when users haven\'t access?', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Recommended to be enabled. Restricted post will be hidden by exclusion from WP Query. The safest and most effective method that hides post and its comments from all requests, RSS feeds, etc. on your site', 'ultimate-member' ),
|
||||
'value' => ! empty( $data['_um_access_hide_from_queries'] ) ? $data['_um_access_hide_from_queries'] : '',
|
||||
'conditional' => array( '_um_accessible', '!=', '0' ),
|
||||
@@ -101,8 +101,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
array(
|
||||
'id' => '_um_restrict_by_custom_message',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Would you like to use the global default message or apply a custom message to this content?', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Action when users without access tries to view the post', 'ultimate-member' ),
|
||||
'label' => __( 'Restricted access message type', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Would you like to use the global default message or apply a custom message to this post?', 'ultimate-member' ),
|
||||
'value' => ! empty( $data['_um_restrict_by_custom_message'] ) ? $data['_um_restrict_by_custom_message'] : '0',
|
||||
'options' => array(
|
||||
'0' => __( 'Global default message', 'ultimate-member' ),
|
||||
|
||||
Reference in New Issue
Block a user