| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for displaying message in profile dashboard if user is logged in. |
| 4 |
* |
| 5 |
* This template can be overridden by copying it to yourtheme/learnpress/profile/not-logged-in.php. |
| 6 |
* |
| 7 |
* @author ThimPress |
| 8 |
* @package Learnpress/Templates |
| 9 |
* @version 3.0.0 |
| 10 |
*/ |
| 11 |
|
| 12 |
defined( 'ABSPATH' ) || exit(); |
| 13 |
|
| 14 |
$profile = LP_Global::profile(); |
| 15 |
|
| 16 |
learn_press_display_message( sprintf( __( 'Please <a href="%s">login</a> to see your profile content', 'learnpress' ), $profile->get_login_url() ) ); |
| 17 |
|