- updated forms labels;

This commit is contained in:
Nikita Sinelnikov
2021-07-27 15:53:22 +03:00
parent 070415bf31
commit a4f41c79e4
3 changed files with 31 additions and 30 deletions
@@ -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' ),