woocommerce_account_edit_address

My Account > Edit address template.

Description

woocommerce_account_edit_address( (string) $type ); 

Parameters (1)

0. $type (string)
Address type.

Usage

  1. if ( !function_exists( 'woocommerce_account_edit_address' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-template-functions.php'; 
  3.  
  4. // Address type. 
  5. $type = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_account_edit_address($type); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-template-functions.php  
  1. function woocommerce_account_edit_address( $type ) { 
  2. $type = wc_edit_address_i18n( sanitize_title( $type ), true ); 
  3.  
  4. WC_Shortcode_My_Account::edit_address( $type );