display_name; $address = edd_get_customer_address( $user_id ); $states = edd_get_shop_states( $address['country'] ); $state = $address['state']; if ( edd_is_cart_saved() ): ?> 'restore_cart', 'edd_cart_token' => urlencode( edd_get_cart_token() ) ), edd_get_checkout_uri() ); ?>
first_name ) ): ?> first_name ); ?> value="first_name ); ?>">first_name ); ?> user_nicename ); ?> value="user_nicename ); ?>">user_nicename ); ?> last_name ) ): ?> last_name ); ?> value="last_name ); ?>">last_name ); ?> first_name ) && ! empty( $current_user->last_name ) ): ?> first_name . ' ' . $current_user->last_name ); ?> value="first_name . ' ' . $current_user->last_name ); ?>">first_name . ' ' . $current_user->last_name ); ?> last_name . ' ' . $current_user->first_name ); ?> value="last_name . ' ' . $current_user->first_name ); ?>">last_name . ' ' . $current_user->first_name ); ?>
id > 0 ) : ?> emails ) ) : ?> emails = array_reverse( $customer->emails, true ); foreach ( $customer->emails as $email ) { $emails[ $email ] = $email; } $email_select_args = array( 'options' => $emails, 'name' => 'edd_email', 'id' => 'edd_email', 'selected' => $customer->email, 'show_option_none' => false, 'show_option_all' => false, ); echo EDD()->html->select( $email_select_args ); ?>
$country ) : ?> >
$state_name ) { echo '' . esc_html( $state_name ) . ''; } ?>