# learnpress/4.4.0/templates/profile/avatar.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.0. 18 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.0/code/templates/profile/avatar.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.0/raw/templates/profile/avatar.php
- Modified: 2024-08-10T07:01:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.0/code/templates/profile/avatar.php#L10-L20`.

```php
<?php
/**
 * Template for displaying user profile avatar
 *
 * @author  ThimPress
 * @package LearnPress/Templates
 * @version 4.0.0
 */

defined( 'ABSPATH' ) || exit;

$user = LP_Profile::instance()->get_user();
?>

<div class="lp-user-profile-avatar">
	<?php echo wp_kses_post( $user->get_profile_picture() ); ?>
</div>

```
