# jetpack/16.3/extensions/blocks/podcast-player/templates/podcast-title.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3. 40 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3/code/extensions/blocks/podcast-player/templates/podcast-title.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.3/raw/extensions/blocks/podcast-player/templates/podcast-title.php
- Modified: 2024-06-03T19:34:38+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/jetpack/16.3/code/extensions/blocks/podcast-player/templates/podcast-title.php#L10-L20`.

```php
<?php
/**
 * Podcast Title template.
 *
 * @html-template Automattic\Jetpack\Extensions\Podcast_Player\render
 * @package automattic/jetpack
 */

// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- HTML template, let Phan handle it.

namespace Automattic\Jetpack\Extensions\Podcast_Player;

/**
 * Template variables.
 *
 * @var string $template_props
 */

if ( empty( $template_props['title'] ) ) {
	return;
}

?>
<span class="jetpack-podcast-player__podcast-title">
	<?php if ( ! empty( $template_props['link'] ) ) : ?>
		<a
			class="jetpack-podcast-player__link"
			href="<?php echo esc_url( $template_props['link'] ); ?>"
			target="_blank"
			rel="noopener noreferrer nofollow"
		>
			<?php echo esc_html( $template_props['title'] ); ?>
		</a>
		<?php
		else :
			echo esc_html( $template_props['title'] );
		endif;
		?>
</span>

```
