- add administrator user role to a restriction setting

This commit is contained in:
andrewshuba
2020-12-15 14:16:26 +02:00
parent fc3902e346
commit 03f2baf61a
2 changed files with 2 additions and 2 deletions
@@ -73,7 +73,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
'label' => __( 'Select which roles can access this content', 'ultimate-member' ),
'tooltip' => __( 'Activate content restriction for this post', 'ultimate-member' ),
'value' => $_um_access_roles_value,
'options' => UM()->roles()->get_roles( false, array( 'administrator' ) ),
'options' => UM()->roles()->get_roles( false ),
'columns' => 3,
'conditional' => array( '_um_accessible', '=', '2' )
),