HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/shoetique/wp-content/themes/north-wp/woocommerce/myaccount/form-edit-address.php
<?php
/**
 * Edit address form
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.1.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $woocommerce, $current_user;

$page_title = ( $load_address == 'billing' ) ? __( 'Billing Address','north' ) : __( 'Shipping Address','north' );

get_currentuserinfo();

?>
<section class="my_woocommerce_page page-padding">
	<div class="custom_scroll">
		<div class="small-12 small-centered medium-8 large-6 columns">
			<div class="smalltitle text-center"><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title ); ?></div>
				<?php wc_print_notices()  ?>

				<?php if (!$load_address) : ?>

					<?php wc_get_template('myaccount/my-address.php'); ?>

				<?php else : ?>

					<form method="post" class="edit-address-form">

						<?php
						foreach ($address as $key => $field) :
							woocommerce_form_field( $key, $field, ! empty( $_POST[ $key ] ) ? wc_clean( $_POST[ $key ] ) : $field['value'] );
						endforeach;
						?>

						<p>
							<input type="submit" class="button" name="save_address" value="<?php _e( 'Save Address','north' ); ?>" />
							<?php wp_nonce_field( 'woocommerce-edit_address' ); ?>
							<input type="hidden" name="action" value="edit_address" />
						</p>

					</form>

				<?php endif; ?>	
		</div>
	</div>
</section>