wc_get_customer_avatar_url()WC 2.6.0

Устарела с версии 3.1.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Return customer avatar URL.

Хуков нет.

Возвращает

Строку. the URL to the customer's avatar.

Использование

wc_get_customer_avatar_url( $email );
$email(строка) (обязательный)
the customer's email.

Список изменений

С версии 2.6.0 Введена.
Устарела с 3.1.0

Код wc_get_customer_avatar_url() WC 8.7.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 );
}