• get_wp_user_avatar_src doesn’t work correctly when called in the rest_post_dispatch hook. So when using the wp-json WordPress rest api.

    It randomly shows the default avatar or the uploaded/chosen avatar, but the default more often.

    Just wanting to let you know. I’ve solved the issue for myself by using ACF Pro which I was already using with this particular site.

  • The topic ‘get_wp_user_avatar_src doesn’t work when called in rest_post_dispatch hook’ is closed to new replies.