bongzilla

Untitled

Apr 27th, 2021 (edited)
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $user_id = get_current_user_id();
  3. $user_name = get_user_meta($user_id, 'user_name')[0];
  4. $user_phone = get_user_meta($user_id, 'phone')[0];
  5. $user_email = get_user_meta($user_id, 'email')[0];
  6. ?>
  7. <input type="text" class="balck-field w-input" maxlength="256" name="billing_first_name" data-name="billing_first_name" placeholder="Имя*" id="billing_first_name" required="" value="<?php echo $user_name; ?>">
  8. <input type="text" class="balck-field w-input" maxlength="256" name="billing_email" data-name="billing_email" placeholder="E-mail*" id="billing_email" required="" value="<?php echo $user_email; ?>">
  9. <input type="text" class="balck-field w-input" maxlength="256" name="billing_phone" data-name="billing_phone" placeholder="Телефон*" id="billing_phone" value="<?php echo $user_phone; ?>">
RAW Paste Data