0

I am using WordPress as a backend for a mobile app, I'd like to let users specify profile and cover images when registering with the app. I checked the docs here, and couldn't find a way to specify image URLs. Is there any way to achieve this?

1 Answer 1

0

You may refer to avatar_urls https://developer.wordpress.org/rest-api/reference/users/#schema-meta.

2
  • 1
    But that says it's read only. You wouldn't be set a value when registering.
    – Rup
    Mar 16, 2021 at 17:59
  • WordPress does not natively support avatars, apart from Gravatars, which are entirely based on the user's email address. If you're using a plugin to support some other kind of avatar, then how to set that by the REST API would depend on the plugin, and you should direct your question to its author
    – Damon Somu
    Aug 10, 2021 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.