mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 03:36:28 +09:00
- changed labels;
- fixed get_archives query based on restricted posts;
This commit is contained in:
@@ -551,12 +551,12 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
array(
|
||||
'id' => 'restricted_blocks',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Allow Gutenberg Blocks restriction options', 'ultimate-member' ),
|
||||
'label' => __( 'Enable the "Content Restriction" settings for the Gutenberg Blocks', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'restricted_block_message',
|
||||
'type' => 'textarea',
|
||||
'label' => __( 'Restricted Block Message', 'ultimate-member' ),
|
||||
'label' => __( 'Restricted Access Block Message', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This is the message shown to users that do not have permission to view the block\'s content', 'ultimate-member' ),
|
||||
'conditional' => array( 'restricted_blocks', '=', 1 ),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user