WordPress at Your Fingertips
function is not described

WC_Customer::get_avatar_url() public WC 3.0.0

Return this customer's avatar.

{} It's a method of the class: WC_Customer{}

No Hooks.

Return

String.

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->get_avatar_url();

Changelog

Since 3.0.0 Introduced.

Code of WC_Customer::get_avatar_url() WC 6.1.1

public function get_avatar_url() {
	return get_avatar_url( $this->get_email() );
}