rest_get_avatar_urls


rest_get_avatar_urls ( $id_or_email )

Parameters:
  • (mixed) $id_or_email The Gravatar 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:
  • (array) $urls Gravatar url for each size.
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