Created
August 11, 2018 02:06
-
-
Save iWebbers/8b9ad6eb0ba93b05d3293d8d999b7887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get WooCommerce store address street via shortcode: [iw_store_address_street] | |
function iw_store_address_street_shortcode() { | |
$base_address = get_option( 'woocommerce_store_address', '' ); | |
return apply_filters( 'woocommerce_countries_base_address', $base_address ); | |
} | |
add_shortcode( 'iw_store_address_street', 'iw_store_address_street_shortcode' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!