Created
January 5, 2019 17:21
-
-
Save Musilda/3637b1f2af6e2f1296967bbee17f7d00 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
//Orders | |
wc_get_account_endpoint_url( get_option( 'woocommerce_myaccount_orders_endpoint', 'orders' ) ); | |
//Downloads | |
wc_get_account_endpoint_url( get_option( 'woocommerce_myaccount_downloads_endpoint', 'downloads' ) ); | |
//Edit Address | |
wc_get_account_endpoint_url( get_option( 'woocommerce_myaccount_edit_address_endpoint', 'edit-address' ) ); | |
//Payment Methods | |
wc_get_account_endpoint_url( get_option( 'woocommerce_myaccount_payment_methods_endpoint', 'payment-methods' ) ); | |
//Edit Account | |
wc_get_account_endpoint_url( get_option( 'woocommerce_myaccount_edit_account_endpoint', 'edit-account' ) ); | |
//Customer Logout | |
wc_get_account_endpoint_url( get_option( 'woocommerce_logout_endpoint', 'customer-logout' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment