Get User's Avatar (1 post)

  1. Clicknathan
    Posted 4 years ago #

    I'm trying to figure out how to display the user's profile picture (ie, basically gravatar) in the same way it's done in the WP Admin /users.php file.

    Opening that file I find a reference to $wp_list_table->display(); but can't figure out where that's coming from...

    The reason I specifically want to get the code used in users.php, vs. using the basic gravatar functionality, is because I'm using a plugin which allows users to upload a photo and use that in lieu of their gravatar. The plugin hooks into however those avatars are displayed in /users.php and overrides any gravatars...so I'm hoping I can find that call and modify it / use it on the front end.

    Anyone know what this function is, or where in WordPress' files I can find the $wp_list_table->display(); code?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.