Uname: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Software: Apache
PHP version: 5.4.45 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.91.62
Your Ip: 216.73.216.52
User: matthif (139342) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : video-popup-data.php
<?php
/**
 * Render data for Video popup.
 *
 * @var $title_source
 * @var $description_source
 * @var $video_data
 * @var $args
 * @var $opts
 *
 * @package visual-portfolio
 */

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

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

?>

<template class="vp-portfolio__item-popup"
	style="display: none;"
	data-vp-popup-video="<?php echo esc_url( $video_data['url'] ); ?>"
	data-vp-popup-poster="<?php echo $video_data['poster'] ? esc_url( $video_data['poster'] ) : ''; ?>"
>
	<?php
	if ( isset( $video_data[ $title_source ] ) && $video_data[ $title_source ] ) {
		?>
		<h3 class="vp-portfolio__item-popup-title"><?php echo wp_kses_post( $video_data[ $title_source ] ); ?></h3>
		<?php
	}
	if ( isset( $video_data[ $description_source ] ) && $video_data[ $description_source ] ) {
		$content = $video_data[ $description_source ];

		if ( 'item_author' === $description_source && $video_data['item_author_url'] ) {
			$content = '<a href="' . esc_url( $video_data['item_author_url'] ) . '">' . $content . '</a>';
		}

		?>
		<div class="vp-portfolio__item-popup-description"><?php echo wp_kses_post( $content ); ?></div>
		<?php
	}
	?>
</template>
© 2026 XylotrechusZ