<?php
/**
 * Output of the single match title.
 *
 * @package cyberpress/templates
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

$match = cyberpress()->get_the_match();

// phpcs:ignore
$title = $match->get_title();

if ( $title ) : ?>
    <header class="entry-header">
        <h1 class="entry-title">
            <?php echo esc_html( $title ); ?>
        </h1>
    </header><!-- .entry-header -->
<?php endif; ?>
