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

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

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

$player = cyberpress()->get_the_player();

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

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