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.
Return Return
(string) the URL to the customer's avatar.
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 );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.0 | This function has been deprecated. |
| 2.6.0 | Introduced. |