| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for displaying profile username. |
| 4 |
* |
| 5 |
* @author ThimPress |
| 6 |
* @package LearnPress/Templates |
| 7 |
*/ |
| 8 |
|
| 9 |
defined( 'ABSPATH' ) || exit; |
| 10 |
|
| 11 |
$profile = LP_Profile::instance(); |
| 12 |
$user = $profile->get_user(); |
| 13 |
|
| 14 |
if ( ! isset( $user ) ) { |
| 15 |
return; |
| 16 |
} |
| 17 |
|
| 18 |
?> |
| 19 |
<h2 class="lp-profile-username"> |
| 20 |
<?php echo wp_kses_post( $user->get_display_name() ); ?> |
| 21 |
</h2> |
| 22 |
<?php |
| 23 |
|