Files
roi-theme/wp-content/plugins/thrive-ultimatum/thrive-dashboard/inc/auto-responder/views/includes/video-link.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

20 lines
757 B
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
$api_slug = strtolower( str_replace( array( ' ', '-' ), '', $this->get_key() ) ); ?>
<?php $video_urls = $this->get_api_video_urls(); ?>
<?php if ( array_key_exists( $api_slug, $video_urls ) && ! empty( $video_urls[ $api_slug ] ) ) : ?>
<div class="ttw-video-urls-container tvd-m6 tvd-no-padding tvd-left ttw-<?php echo esc_attr( $api_slug ); ?>-video">
<p class="ttw-video-urls-wrapper">
<a class="ttw-video-urls tvd-open-video" data-source="<?php echo esc_attr( $video_urls[ $api_slug ] ) ?>"><?php echo esc_html__( 'I need help with this', 'thrive-dash' ); ?></a>
</p>
</div>
<?php endif ?>