<?php

if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}

if ( ! function_exists( 'qode_badges_for_woocommerce_preview_init_after_framework_root' ) ) {
	function qode_badges_for_woocommerce_preview_init_after_framework_root() {
		require_once QODE_BADGES_FOR_WOOCOMMERCE_INC_PATH . '/preview/rest/include.php';
		require_once QODE_BADGES_FOR_WOOCOMMERCE_INC_PATH . '/preview/class-qode-badges-for-woocommerce-preview.php';
		require_once QODE_BADGES_FOR_WOOCOMMERCE_INC_PATH . '/preview/helper.php';
	}

	add_action( 'after_setup_theme', 'qode_badges_for_woocommerce_preview_init_after_framework_root' );
}
