How to check module is enable or not programmatically in Magento 2?

In Magento We can check any module is enable or disable using simple code snippet. Call Magento\Framework\Module\Manager class to__construct() for check module status.

Call from template,

$isEnable = $block->isModuleEnable();

Leave a Reply

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