wc_get_customer_avatar_url()
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.
Return
String
. the URL to the customer's avatar.
Usage
wc_get_customer_avatar_url( $email );
- $email(string) (required)
- the customer's email.
Changelog
Since 2.6.0 | Introduced. |
Deprecated since | 3.1.0 |
wc_get_customer_avatar_url() wc get customer avatar url code WC 9.7.1
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 ); }