Commit Graph

5 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
5ce9008f90 Fix PHPStan class-string errors
MAILPOET-6318
2024-12-02 08:44:22 +01:00
Oluwaseun Olorunsola
325c4c74f4 Fix PHPStan errors for Email editor PHP package integration test folder
MAILPOET-6318
2024-12-02 08:44:22 +01:00
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