rest_get_avatar_urls


rest_get_avatar_urls ( $id_or_email )

Parameters:
  • (mixed) id_or_email The avatar to retrieve a URL for. Accepts a user ID, Gravatar MD5 hash, user email, WP_User object, WP_Post object, or WP_Comment object.
See:
Returns:
  • ((string|false)[]) Avatar URLs keyed by size. Each value can be a URL string or boolean false.
Defined at:

Description

Retrieves the avatar URLs in various sizes.

Related Functions

rest_get_avatar_sizes, get_avatar_url, get_avatar, get_avatar_data, rest_get_url_prefix

Top Google Results

User discussions

wpseek mobile