Return full URL when using wc_get_account_endpoint_url() function, closes #11365
This commit is contained in:
parent
41f3deb665
commit
475cc036e5
|
@ -162,7 +162,7 @@ function wc_get_account_endpoint_url( $endpoint ) {
|
|||
return wc_get_page_permalink( 'myaccount' );
|
||||
}
|
||||
|
||||
return wc_get_endpoint_url( $endpoint );
|
||||
return wc_get_endpoint_url( $endpoint, '', wc_get_page_permalink( 'myaccount' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue