Skip to content

How to disable plugins for a specific area using di.xml in Magento 2

Today, we will guide you on How to disable plugins for a specific area using di.xml. if you want to disable the plugin for admin area then you can follow below steps.

Create di file di.xml in the etc/adminhtml

we used the file: etc/adminhtml/di.xml

Note: you may have to make your module depends on the Vendor\Module

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Share via
Copy link
Powered by Social Snap