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

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

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7/code/templates/profile/avatar.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7/raw/templates/profile/avatar.php
- Modified: 2022-09-13T03:07:46+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.1.7/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>

```
