HEX
Server: Apache
System: Linux sxb1plzcpnl440011.prod.sxb1.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: xfp2mtarcm67 (7705020)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/elementskit-lite/widgets/video/parts/video-button.php
<?php
if($ekit_video_popup_button_style == 'icon') {
	$this->add_render_attribute('button', ['class' => [ 'ekit_icon_button' ]]);
}

if($ekit_video_popup_video_glow == 'yes') {
	$this->add_render_attribute('button', ['class' => [ 'glow-btn' ]]);
}

if($ekit_video_popup_video_type == 'self') {
	$this->add_render_attribute('button', ['class' => ['ekit-video-popup'], 'href' => '#'.$generate_id]);
}else{
	$this->add_render_attribute('button', ['class' => ['ekit-video-popup'], 'href' => $ekit_video_popup_url]);
}

$this->add_render_attribute('button', ['class' => ['ekit-video-popup-btn'], 'aria-label' => "video-popup"]);
?>

<a <?php $this->print_render_attribute_string('button'); ?>>
	<?php if ($ekit_video_popup_button_style == 'text') : ?>
		<span><?php echo esc_html($ekit_video_popup_button_title); ?></span>
	<?php endif; ?>
	<?php if ($ekit_video_popup_button_style == 'icon' && $ekit_video_popup_button_icons != '') : ?>
		<?php $this->video_icon(); ?>
	<?php endif; ?>
	<?php if ($ekit_video_popup_button_style == 'both') : ?>
		<?php if ($ekit_video_popup_icon_align == 'before' && $ekit_video_popup_button_icons != '') : ?>
			<?php  $this->video_icon(); ?>
		<?php endif; ?>
		<span><?php echo esc_html($ekit_video_popup_button_title); ?></span>
		<?php if ($ekit_video_popup_icon_align == 'after' && $ekit_video_popup_button_icons != '') : ?>
			<?php $this->video_icon(); ?>
		<?php endif; ?>
	<?php endif; ?>
</a>