WordPress at a glance
function is not described

WC_Legacy_Customer::get_address_2() public WC 1.0

Legacy get address 2.

{} It's a method of the class: WC_Legacy_Customer{}

No Hooks.

Return

Null. Nothing.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->get_address_2();

Code of WC_Legacy_Customer::get_address_2() WC 5.0.0

<?php
function get_address_2() {
	wc_deprecated_function( 'WC_Customer::get_address_2', '3.0', 'WC_Customer::get_billing_address_2' );
	return $this->get_billing_address_2();
}