Model
FilterEmulate
Magento\Widget\Model\Template\FilterEmulate
What it does
This class processes widget and template directives while emulating the frontend area context, even when called from other areas like admin.
Developers use this when they need to render widgets or filter templates in backend contexts (like emails or admin previews) but want them to behave as if they're being rendered on the storefront.
Public Methods
- widgetDirective()
- filterDirective()