Files
roi-theme/wp-content/plugins/thrive-visual-editor/inc/views/actions/responsive-video-providers/provider-extra.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

39 lines
1.3 KiB
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
if ( empty( $data ) || ! is_array( $data ) ) {
return;
}
?>
<div class="control-grid switch" data-setting="<?php echo esc_attr( $data['setting'] ); ?>">
<div class="fill">
<span class="switch-label"><?php echo esc_html( $data['label'] ); ?></span>
<?php if ( ! empty( $data['info'] ) ): ?>
<span class="click tve-switch-info" data-fn="<?php echo esc_attr( $data['info_fn'] ); ?>" data-paneltlt-hover><?php tcb_icon( 'info-circle-solid' ); ?></span>
<?php endif; ?>
</div>
<div class="tcb-switch">
<label>
<input type="checkbox" class="change"
data-fn="extra_settings_changed"
data-elem-attr="<?php echo esc_attr( $data['setting'] ); ?>"
data-elem-attr-val="<?php echo esc_attr( $data['checked_val'] ); ?>"
data-elem-attr-val-unchecked="<?php echo esc_attr( $data['unchecked_val'] ); ?>"
<?php if ( ! empty( $data['disable_option'] ) ) : ?>
data-disable-option="<?php echo esc_attr( $data['disable_option'] ); ?>"
data-disable-value="<?php echo esc_attr( $data['disable_option_val'] ); ?>"
<?php endif; ?>
>
<span class="tcb-lever"></span>
</label>
</div>
</div>