Linux webm002.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
/
home
/
ariannadhf
/
www
/
wp-content
/
plugins
/
ultimate-member
/
includes
/
admin
/
templates
/
role
/
/home/ariannadhf/www/wp-content/plugins/ultimate-member/includes/admin/templates/role/general.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?> <div class="um-admin-metabox"> <?php $role = $object['data']; UM()->admin_forms( array( 'class' => 'um-role-general um-half-column', 'prefix_id' => 'role', 'fields' => array( array( 'id' => '_um_can_edit_profile', 'type' => 'checkbox', 'label' => __( 'Can edit their profile?', 'ultimate-member' ), 'tooltip' => __( 'Can this role edit his own profile?', 'ultimate-member' ), 'value' => ! empty( $role['_um_can_edit_profile'] ) ? $role['_um_can_edit_profile'] : 0, ), array( 'id' => '_um_can_delete_profile', 'type' => 'checkbox', 'label' => __( 'Can delete their account?', 'ultimate-member' ), 'tooltip' => __( 'Allow this role to delete their account and end their membership on your site', 'ultimate-member' ), 'value' => ! empty( $role['_um_can_delete_profile'] ) ? $role['_um_can_delete_profile'] : 0, ) ) ) )->render_form(); ?> </div>