get_avatar_data


get_avatar_data ( $id_or_email, $args = null )

Parameters:
  • (mixed) $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, user email, WP_User object, WP_Post object, or WP_Comment object.
  • (array) $args { Optional. Arguments to return instead of the default arguments.
Returns:
  • (array) $processed_args { Along with the arguments passed in `$args`, this will contain a couple of extra arguments.
Defined at:

Description

Retrieves default data about the avatar.

Related Functions

get_avatar, get_avatar_url, get_metadata, get_theme_data, wp_get_update_data

Top Google Results

User discussions

wpseek mobile