Magento2 Create and Use Plugins
A plugin, or interceptor, is a class that modifies the behavior of original public class functions or methods by another function call and running code before, after, or around that function call. This allows you to substitute or extend the behavior of original, public methods for any class or interface. Plugins only use for “public […]