mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed transferring from 1.3.88 to 2.0;
- hide restrict options for administrator role;
This commit is contained in:
@@ -161,7 +161,7 @@ if ( ! class_exists( 'Access' ) ) {
|
||||
function um_access_check_global_settings() {
|
||||
global $post;
|
||||
|
||||
if ( is_home() ) {
|
||||
if ( is_front_page() ) {
|
||||
if ( is_user_logged_in() ) {
|
||||
|
||||
$role_meta = UM()->roles()->role_data( um_user( 'role' ) );
|
||||
|
||||
Reference in New Issue
Block a user