Commit Graph

8 Commits

Author SHA1 Message Date
Rostislav Wolny
30f11dc9cc Use registered email post types for templates instead of hardcoded mailpoet_email
The general email template is registered and works with all post types that are
marked as email post types during editor initialization.
[MAILPOET-6356]
2024-12-20 15:14:30 +01:00
Rostislav Wolny
9b9187bb3e Move the template_id construction logic to Templates class
[MAILPOET-6356]
2024-12-20 15:14:30 +01:00
Rostislav Wolny
2e661f8b8e Remove code that is no longer necessary for the templates to work
[MAILPOET-6356]
2024-12-20 15:14:30 +01:00
Rostislav Wolny
2fc0ad3c9e Switch template registration to use register_block_template
[MAILPOET-6356]
2024-12-20 15:14:30 +01:00
Rostislav Wolny
c64e4caf27 Remove styles data added to templates REST API response
We no longer need to send CSS for every template because we use global styles
live from the editor.
[MAILPOET-6335]
2024-12-17 10:36:39 +01:00
Rostislav Wolny
ebe7151269 Remove code related to template themes
[MAILPOET-6335]
2024-12-17 10:36:39 +01:00
Oluwaseun Olorunsola
a5f0dbc2a3 Fix PHPStan and update git-blame-ignore 2024-12-03 09:32:42 +01:00
Oluwaseun Olorunsola
5d6d7eba57 Add template integration tests
MAILPOET-6043
2024-12-02 14:21:54 +01:00