WordPress at Your Fingertips
function is not described

wc_get_customer_avatar_url() WC 2.6.0

Deprecated from version 3.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Return customer avatar URL.

No Hooks.


String. the URL to the customer's avatar.


wc_get_customer_avatar_url( $email );
$email(string) (required)
the customer's email.


Since 2.6.0 Introduced.
Deprecated 3.1.0

Code of wc_get_customer_avatar_url() WC 6.1.0

function wc_get_customer_avatar_url( $email ) {
	// Deprecated in favor of WordPress get_avatar_url() function.
	wc_deprecated_function( 'wc_get_customer_avatar_url()', '3.1', 'get_avatar_url()' );

	return get_avatar_url( $email );