| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || exit(); |
| 3 |
|
| 4 |
/** |
| 5 |
* Class LP_User_Guest |
| 6 |
* |
| 7 |
* @author ThimPress |
| 8 |
* @package LearnPress/Classes |
| 9 |
* @version 1.0 |
| 10 |
*/ |
| 11 |
class LP_User_Guest extends LP_User { |
| 12 |
|
| 13 |
/** |
| 14 |
* LP_User_Guest constructor. |
| 15 |
* |
| 16 |
* @param int $the_user |
| 17 |
*/ |
| 18 |
public function __construct( $the_user = 0 ) { |
| 19 |
parent::__construct( $the_user ); |
| 20 |
} |
| 21 |
|
| 22 |
/** |
| 23 |
* @return string, Certificate must user_id is int, so temporary comment. |
| 24 |
*/ |
| 25 |
/*public function get_id(): string { |
| 26 |
return LP_Session_Handler::instance()->get_cookie_data(); |
| 27 |
}*/ |
| 28 |
} |
| 29 |
|