WordPress at Your Fingertips
function is not described

WC_Countries::get_base_address_2() public WC 3.1.1

Get the base address (second line) for the store.

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

Hooks from the method
Return

String.

Usage

$WC_Countries = new WC_Countries();
$WC_Countries->get_base_address_2();

Changelog

Since 3.1.1 Introduced.

Code of WC_Countries::get_base_address_2() WC 5.7.1

public function get_base_address_2() {
	$base_address_2 = get_option( 'woocommerce_store_address_2', '' );
	return apply_filters( 'woocommerce_countries_base_address_2', $base_address_2 );
}