# learnpress/4.3.9/inc/cache/class-lp-question-cache.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.3.9. 39 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.3.9/code/inc/cache/class-lp-question-cache.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.3.9/raw/inc/cache/class-lp-question-cache.php
- Modified: 2026-06-08T02:53:42+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.3.9/code/inc/cache/class-lp-question-cache.php#L10-L20`.

```php
<?php

/**
 * Class LP_Quiz_Cache
 *
 * @author tungnx
 * @since 4.2.0
 * @version 1.0.0
 */
defined( 'ABSPATH' ) || exit();

class LP_Question_Cache extends LP_Cache {
	/**
	 * @var null|LP_Question_Cache
	 */
	protected static $instance;
	/**
	 * @var string
	 */
	protected $key_group_child = 'question';

	/**
	 * Get instance
	 *
	 * @return self
	 */
	public static function instance(): self {
		if ( is_null( self::$instance ) ) {
			self::$instance = new self();
		}

		return self::$instance;
	}

	public function __construct() {
		parent::__construct();
	}
}

```
