WordPress at Your Fingertips
function is not described

WC_Customer::get_billing_address_2() public WC 1.0

Get billing_address_2.

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

No Hooks.

Return

String. $value

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->get_billing_address_2( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Code of WC_Customer::get_billing_address_2() WC 5.9.0

public function get_billing_address_2( $context = 'view' ) {
	return $this->get_address_prop( 'address_2', 'billing', $context );
}