<?php

use Mtc\Plugins\FeaturedProducts\Classes\FeaturedProducts;

/**
 * Featured Products hooks
 *
 * @author Vladislavs Ignatjevs <vladislavs.ignatjevs@mtcmedia.co.uk>
 */

if (defined('FEATURED_PRODUCTS') && FEATURED_PRODUCTS === true) {
    HooksAdapter::add_action(
        'Item/delete',
        'Mtc\Plugins\FeaturedProducts\Classes\FeaturedProducts::deleteFeatured',
        10,
        1,
    );
}
