<?php
use Mtc\Plugins\ItemFAQ\Classes\ItemFAQ;
use Mtc\Shop\Events\ItemAdminTabnavEvent;
use Illuminate\Support\Facades\Event;

//if (defined('SEO_ITEM_SCHEMA_ENABLED') && SEO_ITEM_SCHEMA_ENABLED === true) {
    Event::listen(
        'Mtc\Shop\Events\ItemAdminTabnavEvent',
        function (ItemAdminTabnavEvent $event) {
            return ItemFAQ::addTabNav($event->getItem(), $event->getRequest());
        }
    );
//}
