wc_get_endpoint_url instead of wp_logout_url
Merge pull request #6824 from tivnet/patch-5

wc_get_endpoint_url instead of wp_logout_url