Sindbad~EG File Manager

Current Path : /home/n/i/c/nicedoo/www/wp-content/plugins/shopengine/widgets/product-excerpt/screens/
Upload File :
Current File : /home/n/i/c/nicedoo/www/wp-content/plugins/shopengine/widgets/product-excerpt/screens/default.php

<?php

use ShopEngine\Utils\Helper;

defined('ABSPATH') || exit;

?>
<div class="shopengine-product-excerpt">

	<div class="woocommerce-product-details__short-description">
		<?php
		$product = \ShopEngine\Widgets\Products::instance()->get_product(get_post_type());
		$post = get_post($product->get_id());
		$short_description = apply_filters('woocommerce_short_description', $post->post_excerpt);

		if(!$short_description && get_post_type() == \ShopEngine\Core\Template_Cpt::TYPE) {
			echo esc_html__('Dummy short description only for elementor preview mode if and only if the editor selected product has no short description.', 'shopengine');
		} else {
			echo wp_kses($short_description, Helper::get_kses_array());
		}

		?>
	</div>

</div>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists