<?php
$page_title = ( 'billing' === $load_address ) ? esc_html__( 'Billing address', 'wpboutik' ) : esc_html__( 'Shipping address', 'wpboutik' );

if ( empty( $load_address ) ) : ?>
	<?php include WPBOUTIK_TEMPLATES . '/account/my-address.php'; ?>
<?php else : ?>
    <div class="divide-y divide-gray-200 lg:col-span-9">
        <div class="py-6 px-4 sm:p-6 lg:pb-8">
			<?php wpb_form( 'address', [
				'load_address' => $load_address,
				'page_title'   => $page_title,
				'address'      => $address
			] ) ?>
        </div>
    </div>
<?php endif; ?>