Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

rest_get_avatar_urls()

3 tags 1 category

rest_get_avatar_urls() — Retrieves the avatar URLs in various sizes.

Inputs: $id_or_email (mixed): 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.

Returns (string|false)[]: Avatar URLs keyed by size. Each value can be a URL string or boolean false.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…