Sarathlal N

Change shipping and billing address title - WooCommerce

Change shipping and billing address title - WooCommerce

If you like to modify the title of the addresses on the “My Account” page for WooCommerce.

add_filter( 'woocommerce_my_account_get_addresses', 'er45d_woo_change_title_account' );
function er45d_woo_change_title_account( $account_title ) {
	$account_title = array(
		'billing' => __( 'New Billing Address', 'text-domain' ),
		'shipping' => __( 'New Shipping Address', 'text-domain' ),
	);
	
	return $account_title;
}

Recent Posts

  1. Action hooks that trigger on, before or after add, update or delete actions of option - WordPress
  2. Get all variations of a variable product - WooCommerce
  3. Generate random string - Python
  4. Split domain from an email address - Python
  5. Get upcoming N days - PHP

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about it, please get in touch.