diff --git a/includes/frontend/visibility-tests/user-role.php b/includes/frontend/visibility-tests/user-role.php index 621dfac..456a6d1 100644 --- a/includes/frontend/visibility-tests/user-role.php +++ b/includes/frontend/visibility-tests/user-role.php @@ -167,7 +167,7 @@ function user_role_test( $is_visible, $settings, $controls ) { return true; } } - } elseif ( empty( $restricted_users ) && $hide_on_resticted_users ) { + } elseif ( empty( $restricted_users ) && $hide_on_restricted_users ) { return true; } } elseif ( 'user-rule-sets' === $visibility_by_role ) {