Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new plugin template registration API for subscription templates #39853

Open
simison opened this issue Oct 21, 2024 · 0 comments
Open

Use new plugin template registration API for subscription templates #39853

simison opened this issue Oct 21, 2024 · 0 comments
Assignees
Labels
[Block] Subscriptions [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings.

Comments

@simison
Copy link
Member

simison commented Oct 21, 2024

In Jetpack Newsletters, we use a bit complicated way (as there wasn't an API before) to register templates that people can use to modify subscription popups, overlays and such. Basically each of these "preview and edit" links opens a pre-defined template:

Image

There's now a new official API we can migrate to:

This will ensure better compatibility and stability of the functionality going forward, as well better example within the codebase for others at a8c and the community how to do something like this.

We'll need to make sure that previously saved modifications are carried over to new system.

@simison simison added [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings. [Block] Subscriptions labels Oct 21, 2024
@simison simison closed this as completed Oct 21, 2024
@simison simison closed this as completed Oct 21, 2024
@simison simison reopened this Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Subscriptions [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings.
Projects
None yet
Development

No branches or pull requests

2 participants