arm_get_all_roles(); $dbFormFields = $arm_member_forms->arm_get_db_form_fields(true); $user_id = 0; if (isset($_REQUEST['id']) && $_REQUEST['id'] != '') { $user_id = abs($_REQUEST['id']); } $user = get_user_by('id', $user_id); if (empty($user)) { wp_redirect(admin_url('admin.php?page=' . $arm_slugs->manage_members)); } $user_metas = get_user_meta($user_id); $edit_link = admin_url('admin.php?page=' . $arm_slugs->manage_members . '&action=edit_member&id=' . $user->ID); $userRegForm = array(); $armform = new ARM_Form(); if (!empty($user->arm_form_id) && $user->arm_form_id != 0) { $userRegForm = $arm_member_forms->arm_get_single_member_forms($user->arm_form_id); $arm_exists_form = $armform->arm_is_form_exists($user->arm_form_id); if( $arm_exists_form ){ $armform->init((object) $userRegForm); } } $date_format = $arm_global_settings->arm_get_wp_date_format(); $global_currency = $arm_payment_gateways->arm_get_global_currency(); $all_currencies = $arm_payment_gateways->arm_get_all_currencies(); $global_currency_sym = $all_currencies[strtoupper($global_currency)]; $backToListingIcon = MEMBERSHIPLITE_IMAGES_URL . '/back_to_listing_arrow.png'; if (is_rtl()) { $backToListingIcon = MEMBERSHIPLITE_IMAGES_URL . '/back_to_listing_arrow_right.png'; } ?>