WC_Countries::get_base_address()
Get the base address (first line) for the store.
Method of the class: WC_Countries{}
Hooks from the method
Return
String
.
Usage
$WC_Countries = new WC_Countries(); $WC_Countries->get_base_address();
Changelog
Since 3.1.1 | Introduced. |
WC_Countries::get_base_address() WC Countries::get base address code WC 9.4.2
public function get_base_address() { $base_address = get_option( 'woocommerce_store_address', '' ); return apply_filters( 'woocommerce_countries_base_address', $base_address ); }