Commit Graph

3 Commits

Author SHA1 Message Date
Rostislav Wolny
e74e1ef2a2 Register email patterns directly in plugin
[MAILPOET-6243]
2024-11-22 08:45:46 +01:00
Rostislav Wolny
5885077838 Register only email content email pattern category
As for now, pattern categories are hardcoded in the engine.
[MAILPOET-6243]
2024-11-22 08:45:46 +01:00
Rostislav Wolny
c06779acbb Introduce hooks for registering patterns for email editor
To get rid of hardcoded MailPoet-specific patterns from the editor package
We need to introduce an API to register the patterns and their categories.

Patterns have to be defined as extenders of Abstract_Pattern.

[MAILPOET-6243]
2024-11-22 08:45:46 +01:00