GhostManSec
Server: Apache
System: Linux webm019.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: exhehbu (1008962)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/e/x/h/exhehbu/wp/wp-content/themes/revolution/vc_templates/thb_label.php
<?php function thb_label( $atts, $content = null ) {
	$atts = vc_map_get_attributes( 'thb_label', $atts );
	extract( $atts );

	$out = '';

	$element_id = uniqid( 'thb-label-' );

	$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ), 'thb-label', $atts );

	$el_class[] = 'thb-label';
	$el_class[] = $animation;
	$el_class[] = $extra_class;
	$el_class[] = $css_class;

	$description = vc_value_from_safe( $content );
	$description = nl2br( $description );
	ob_start();
	?>
	<div id="<?php echo esc_attr( $element_id ); ?>" class="<?php echo esc_attr( implode( ' ', $el_class ) ); ?>">
		<?php echo wp_kses_post( wpautop( $description ) ); ?>
		<style>
			<?php if ( $thb_icon_color ) { ?>
			#<?php echo esc_attr( $element_id ); ?>.thb-iconbox figure svg path, 
			#<?php echo esc_attr( $element_id ); ?>.thb-iconbox figure svg circle, 
			#<?php echo esc_attr( $element_id ); ?>.thb-iconbox figure svg rect, 
			#<?php echo esc_attr( $element_id ); ?>.thb-iconbox figure svg ellipse {
				stroke: <?php echo esc_attr( $thb_icon_color ); ?>;
			}
			<?php } ?>
		</style>
	</div>
	<?php

	$out = ob_get_clean();

	return $out;
}
thb_add_short( 'thb_label', 'thb_label' );