Warning: This function has been deprecated.

wc_get_customer_avatar_url( string $email )

Return customer avatar URL.

Description Description

Parameters Parameters


(Required) the customer's email.

Top ↑

Return Return

(string) the URL to the customer's avatar.

Top ↑

Source Source

File: includes/wc-deprecated-functions.php

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 );

Top ↑

Changelog Changelog

Version Description
3.1.0 This function has been deprecated.
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.