# الوصول إلى صورة المستخدم في Discourse داخل ملف functions.php الخاص بـ WP

**URL:** <https://meta.discourse.org/t/accessing-discourse-user-avatar-in-wp-functions-php/95390>\
**Category:** WordPress\
**Created:** [22 أغسطس 2018، 9:47ص UTC](https://meta.discourse.org/t/accessing-discourse-user-avatar-in-wp-functions-php/95390 "2018-08-22T09:47:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Lucas\_Young](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucas_young/32/109456_2.png) [@Lucas\_Young](https://meta.discourse.org/u/Lucas_Young)\
**Post date:** [22 أغسطس 2018، 9:47ص UTC](https://meta.discourse.org/t/accessing-discourse-user-avatar-in-wp-functions-php/95390/1 "2018-08-22T09:47:58Z")

</div>

Hi Guys

I’m new to working with Discourse and am working on some changes to a Wordpress site where Discourse is installed via the [WP Discourse](https://github.com/discourse/wp-discourse) plugin.

All I need to do is get the avatar for a user via their Wordpress ID and show it on a page I’m building. Is this a meta field I can query in WP or is there a function I need to call via functions.php to get this?

Many thanks in advance for the assistance.

---

_[View the full topic](https://meta.discourse.org/t/accessing-discourse-user-avatar-in-wp-functions-php/95390)._
