# learnpress/4.4.8/inc/user/class-lp-user-guest.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.8. 29 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.8/code/inc/user/class-lp-user-guest.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.8/raw/inc/user/class-lp-user-guest.php
- Modified: 2026-09-18T11:22:50+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.8/code/inc/user/class-lp-user-guest.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || exit();

/**
 * Class LP_User_Guest
 *
 * @author  ThimPress
 * @package LearnPress/Classes
 * @version 1.0
 */
class LP_User_Guest extends LP_User {

	/**
	 * LP_User_Guest constructor.
	 *
	 * @param int $the_user
	 */
	public function __construct( $the_user = 0 ) {
		parent::__construct( $the_user );
	}

	/**
	 * @return string, Certificate must user_id is int, so temporary comment.
	 */
	/*public function get_id(): string {
		return LP_Session_Handler::instance()->get_cookie_data();
	}*/
}

```
