Add 'woocommerce_my_account_edit_address_title' filter
This commit is contained in:
parent
9fbf61073a
commit
c599c5ecbe
|
@ -11,6 +11,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
global $woocommerce, $current_user;
|
global $woocommerce, $current_user;
|
||||||
|
|
||||||
|
$page_title = ( $load_address == 'billing' ) ? __( 'Billing Address', 'woocommerce' ) : __( 'Shipping Address', 'woocommerce' );
|
||||||
|
|
||||||
get_currentuserinfo();
|
get_currentuserinfo();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -24,7 +26,7 @@ get_currentuserinfo();
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|
||||||
<h3><?php if ( $load_address == 'billing' ) _e( 'Billing Address', 'woocommerce' ); else _e( 'Shipping Address', 'woocommerce' ); ?></h3>
|
<h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title ); ?></h3>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach ($address as $key => $field) :
|
foreach ($address as $key => $field) :
|
||||||
|
|
Loading…
Reference in New Issue