Magento 2: Add/Update CMS Static Block via Install/Upgrade Script Programmatically
This article shows how you can add or update CMS Static Block using Install or Upgrade Script of a module in Magento 2. This code is useful when you need to auto add/edit cms static block while installing or upgrading your custom module. Add CMS Static Block from InstallData Setup Script This will add cms … Read more