Plugin

Magento plugins (interceptors): before, after and around plugins, sort order, plugin pitfalls and alternatives such as observers.