<?php
if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}
$text = get_post_meta( $badge_id, 'qode_badges_for_woocommerce_text', true );
?>
<div <?php qode_badges_for_woocommerce_class_attribute( $classes ); ?>>
	<div class="qbfw-transform-text-holder"> <!-- qbfw-outer-text-holder is holder for transformation of text, if something is added. -->
		<?php do_action( 'qode_badges_for_woocommerce_action_badge_template_before_text', $params ); ?>
		<div class="qbfw-badge-text"><!-- qbfw-badge-text is a class for text editor js changes -->
			<?php
			// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			echo qode_badges_for_woocommerce_prepare_badges_text( $text, $params );
			?>
		</div>
	</div>
</div>
