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

Add hooks before and after the subscription info table email #753

Closed
wants to merge 3 commits into from

Conversation

webdados
Copy link

@webdados webdados commented Dec 20, 2024

Updates #752

Description

As mentioned on the issue:

Depending on the subscription business, the information on the "Subscription information" email template might not be enough for the customer to understand why is he getting this email.

(...)

I have two suggestions:

  • Load the order details email template after the subscription information table
  • Add hooks before and after the subscription information table so that developers can decide what else to add

This PR implements the second suggestion.

How to test this PR

Hook into wcs_email_before_subscription_info or wcs_email_after_subscription_info and add any content you want to the subscription information template on emails.

Product impact

  • Will this PR affect WooCommerce Subscriptions?

@mattallan
Copy link
Contributor

Hey @webdados thanks for working on this PR. I'm going to close this in favour of #770 which was just merged.

@mattallan mattallan closed this Jan 29, 2025
@webdados webdados deleted the subscription-info-hooks branch January 29, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants