-
Notifications
You must be signed in to change notification settings - Fork 3
Home
These action hooks can be used to display whatever you want before or after the subscribe to the newsletter on the checkout page.
Before: do_action( 'woocommerce_mailpoet_checkout_before_subscribe' );
After: do_action( 'woocommerce_mailpoet_checkout_after_subscribe' );
This filter will allow you to add additional positions should you have added custom fields of your own and wish to position the subscription field elsewhere that is available in the options already provided.
- Filter:
mailpoet_woocommerce_subscription_position - Returns: array
This filter allows you to change the heading separator label on the checkout page.
- Filter:
mailpoet_woocommerce_subscription_section_title - Returns: string
This filter allows you to disable the confirmation notice if double-opt-in was used.
- Filter:
mailpoet_woocommerce_display_confirm_notice - Returns: bool
- Default: true
This filter allows you to disable the thank you notice.
- Filter:
mailpoet_woocommerce_display_thank_you_notice - Returns: bool
- Default: true
This filter allows you to change the error notice message.
- Filter:
mailpoet_woocommerce_subscribe_error - Returns: string
- Default: "There appears to be a problem subscribing you to our newsletter. Please let us know so we can manually add you ourselves. Thank you."
This filter allows you to change the confirmation notice message.
- Filter:
mailpoet_woocommerce_subscribe_confirm - Returns: string
- Default: "We have sent you an email to confirm your newsletter subscription. Thank you."
This filter allows you to change the thank you notice message.
- Filter:
mailpoet_woocommerce_subscribe_thank_you - Returns: string
- Default: "Thank you for subscribing to our newsletter."
Developed by Sébastien Dumont