• Resolved wildapache

    (@wildapache)


    I need to set a default avatar image of each new registered user, for example from local folder /avatars

    I trying to get data via : get_avatar_data

    But ! I can’t find this data in mysql table : wp_user_meta

    For example to change avatar url

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    What exactly do you want to use as your avatar? An image you’ve uploaded yourself to your project?

    Keep in mind: By default, WordPress uses data from Gravatar for avatars if the user’s email address is already registered there and an image is associated with it. Are you looking to override this feature, or do you want to continue using it? The latter would mean that new users would indeed use the Gravatar avatar instead of yours.

    Thread Starter wildapache

    (@wildapache)

    I tried to understand how avatar works in wordpress.

    I tried to find any data like avatar or avatar_url in wp_usermeta and can’t found it.

    After I go to wp source file of avatar_get_data and understood what they get data from “remote“.

    The main question is solved

    I wanted to know how avatar works on platform, to understand how to dev some option in future.

    Now is a little clear – wordpress don’t have a local avatars meta/options by default

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.