Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wooc_extra_register_fields() {?>
- <p class="form-row form-row-first">
- <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?><span class="required">*</span></label>
- <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'] ); ?>" />
- </p>
- <p class="form-row form-row-last">
- <label for="reg_billing_last_name"><?php _e( 'Last name', 'woocommerce' ); ?><span class="required">*</span></label>
- <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'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_company"><?php _e( 'Company', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_company" id="reg_billing_company" value="<?php esc_attr_e( $_POST['billing_company'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_phone"><?php _e( 'Phone', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_phone" id="reg_billing_phone" value="<?php esc_attr_e( $_POST['billing_phone'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_adress_1"><?php _e( 'Adress Line 1', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_adress_1" id="reg_billing_adress_1" value="<?php esc_attr_e( $_POST['billing_address_1'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_adress_2"><?php _e( 'Adress Line 2', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_adress_2" id="reg_billing_adress_2" value="<?php esc_attr_e( $_POST['billing_address_2'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_city"><?php _e( 'City', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_city" id="reg_billing_city" value="<?php esc_attr_e( $_POST['billing_city'] ); ?>" />
- </p>
- <p class="form-row form-row-wide">
- <label for="reg_billing_postcode"><?php _e( 'Postcode', 'woocommerce' ); ?></label>
- <input type="text" class="input-text" name="billing_postcode" id="reg_billing_postcode" value="<?php esc_attr_e( $_POST['billing_postcode'] ); ?>" />
- </p>
- <div class="clear"></div>
- <?php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement