# learnpress/4.4.8/templates/content-quiz/title.php

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

- Page: https://pluginprobe.com/plugins/learnpress/4.4.8/code/templates/content-quiz/title.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.8/raw/templates/content-quiz/title.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/templates/content-quiz/title.php#L10-L20`.

```php
<?php
/**
 * Template for displaying title of quiz.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/content-quiz/title.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  3.0.0
 */

defined( 'ABSPATH' ) || exit();

$quiz   = LP_Global::course_item_quiz();
$course = learn_press_get_course();
$title  = $quiz->get_heading_title( 'display' );

if ( ! $title ) {
	return;
}
?>

<h1 class="course-item-title quiz-title"><?php echo esc_html( $title ); ?></h1>

```
