Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. function wooc_extra_register_fields() {?>
  2.       <p class="form-row form-row-first">
  3.       <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?><span class="required">*</span></label>
  4.       <input type="text" class="input-text" name="billing_first_name" id="reg_billing_first_name" value="<?php if ( ! empty( $_POST['billing_first_name'] ) ) esc_attr_e( $_POST['billing_first_name'] ); ?>" />
  5.       </p>
  6.       <p class="form-row form-row-last">
  7.       <label for="reg_billing_last_name"><?php _e( 'Last name', 'woocommerce' ); ?><span class="required">*</span></label>
  8.       <input type="text" class="input-text" name="billing_last_name" id="reg_billing_last_name" value="<?php if ( ! empty( $_POST['billing_last_name'] ) ) esc_attr_e( $_POST['billing_last_name'] ); ?>" />
  9.       </p>
  10. <p class="form-row form-row-wide">
  11.       <label for="reg_billing_company"><?php _e( 'Company', 'woocommerce' ); ?></label>
  12.       <input type="text" class="input-text" name="billing_company" id="reg_billing_company" value="<?php esc_attr_e( $_POST['billing_company'] ); ?>" />
  13.       </p>
  14. <p class="form-row form-row-wide">
  15.       <label for="reg_billing_phone"><?php _e( 'Phone', 'woocommerce' ); ?></label>
  16.       <input type="text" class="input-text" name="billing_phone" id="reg_billing_phone" value="<?php esc_attr_e( $_POST['billing_phone'] ); ?>" />
  17.       </p>
  18. <p class="form-row form-row-wide">
  19.       <label for="reg_billing_adress_1"><?php _e( 'Adress Line 1', 'woocommerce' ); ?></label>
  20.       <input type="text" class="input-text" name="billing_adress_1" id="reg_billing_adress_1" value="<?php esc_attr_e( $_POST['billing_address_1'] ); ?>" />
  21.       </p>
  22. <p class="form-row form-row-wide">
  23.       <label for="reg_billing_adress_2"><?php _e( 'Adress Line 2', 'woocommerce' ); ?></label>
  24.       <input type="text" class="input-text" name="billing_adress_2" id="reg_billing_adress_2" value="<?php esc_attr_e( $_POST['billing_address_2'] ); ?>" />
  25.       </p>
  26. <p class="form-row form-row-wide">
  27.       <label for="reg_billing_city"><?php _e( 'City', 'woocommerce' ); ?></label>
  28.       <input type="text" class="input-text" name="billing_city" id="reg_billing_city" value="<?php esc_attr_e( $_POST['billing_city'] ); ?>" />
  29.       </p>
  30. <p class="form-row form-row-wide">
  31.       <label for="reg_billing_postcode"><?php _e( 'Postcode', 'woocommerce' ); ?></label>
  32.       <input type="text" class="input-text" name="billing_postcode" id="reg_billing_postcode" value="<?php esc_attr_e( $_POST['billing_postcode'] ); ?>" />
  33.       </p>
  34.       <div class="clear"></div>
  35.       <?php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement