woocommerce_my_account_edit_address_title

The WordPress Core woocommerce my account edit address title hook.

Description

apply_filters( 'woocommerce_my_account_edit_address_title', (string) $my_address ); 

Parameters (1)

0. $my_address (string) => 'My Address'
The my address.

Usage

To run the hook, copy the example below.
  1. $my_address = apply_filters( 'woocommerce_my_account_edit_address_title', $my_address ); 
  2.  
  3. if ( !empty( $my_address ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the woocommerce_my_account_edit_address_title callback 
  2. function filter_woocommerce_my_account_edit_address_title( $my_address ) { 
  3. // make filter magic happen here... 
  4. return $my_address
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'woocommerce_my_account_edit_address_title', 'filter_woocommerce_my_account_edit_address_title', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'woocommerce_my_account_edit_address_title', 'filter_woocommerce_my_account_edit_address_title', 10, 1 ); 

Defined (1)

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

/library/woo-config.php  
  1. <h2 class="edit_address_heading" <?php echo $address_session; ?>><?php echo apply_filters('woocommerce_my_account_edit_address_title', 'My Address'); ?></h2>