Requires Hubbub Pro+ 2.23.0 or above.
You can customize the Save This email and trigger actions using WordPress filters and actions. We look forward to seeing what the community comes up with!
Would you like to automate a task using Zapier? Learn more about Save This’s integration with Zapier.
Example WordPress Plugin #
We’ve created an example WordPress plugin that we use for testing and showcasing all of Hubbub Pro+’s Save This actions and filters. It also includes a number of practical examples to show what could be made.
Brief Overview in our Webinar #
List of Actions #
Action | When called |
---|---|
hubbub_save_this_action_preparing | First action called, preparing the email. |
hubbub_save_this_action_before_sent | Just prior to sending the Save This email. |
hubbub_save_this_action_sent | Save This email has just been sent. |
hubbub_save_this_action_before_count_increment | Just prior to incrementing the count of the number of times this post had been “Saved”. |
hubbub_save_this_action_counted | Counted! |
hubbub_save_this_action_before_cookie | Just prior to saving the cookie which stores the visitor’s email for autofilling later. |
hubbub_save_this_action_cookie_saved | (see filter if you want to disable) Cookied! |
hubbub_save_this_action_before_mailing_list_add | Just prior to adding the email address to the selected Mailing List Service. |
hubbub_save_this_action_mailing_list_added | Added to a mailing list! |
hubbub_save_this_action_mailing_list_added_convertkit | Added to ConvertKit |
hubbub_save_this_action_mailing_list_added_flodesk | Added to Flodesk |
hubbub_save_this_action_mailing_list_added_mailchimp | Added to MailChimp |
hubbub_save_this_action_mailing_list_added_mailerlite | Added to MailerLite |
hubbub_save_this_action_mailing_list_added_mailerlite_classic | Added to MailerLite Classic |
List of Filters #
Filter | Notes |
---|---|
hubbub_save_this_filter_post_url | The URL of the post being saved. This will be used within links in the email. |
hubbub_save_this_filter_post_raw_url | The plain text URL of the post being saved. This is displayed as a full URL in the Save This email. |
hubbub_save_this_filter_post_title | The title of the post being saved. |
hubbub_save_this_filter_email_fromname | The “From Name” provided in Hubbub > Save This settings. |
hubbub_save_this_filter_email_fromaddress | The “From Address” provided in Hubbub > Save This settings. |
hubbub_save_this_filter_email_featuredimageurl | The URL of the featured image for the post. |
hubbub_save_this_filter_email_message | The “Email Message” provided in Hubbub > Save This settings. |
hubbub_save_this_filter_email_bottomcontent | The “Bottom Content” provided in Hubbub > Save This settings. |
hubbub_save_this_filter_email_subject | The default email subject which is “You Saved This: %post_title%”. |
hubbub_save_this_filter_email_heading | The default heading which is “You Saved This:”. |
hubbub_save_this_filter_post_title_link | An HTML link of the post title and post URL. E.g. <a href=$post_url target="_blank">$post_title</a> |
hubbub_save_this_filter_footer_site_title | The Site Title in the footer of the email |
hubbub_save_this_filter_image_url | The URL of the image provided in Hubbub > Save This settings. |
hubbub_save_this_filter_email_customlinkcolor | The Custom Link Color provided in Hubbub > Save This settings. |
hubbub_save_this_filter_should_save_cookie | String (expected: “false”). Determines whether or not to save a cookie. Default ‘true’. |
hubbub_save_this_filter_html_template | The raw HTML template prior to adding any content to it. |
hubbub_save_this_filter_html_email_complete | The raw HTML template after adding all of the content just before sending. |
hubbub_save_this_filter_headers | The headers array including FROM, TO, etc. |
hubbub_save_this_filter_custom_after_logo | Custom content section. Below site name or logo. |
hubbub_save_this_filter_custom_after_message | Custom content section. Below email message area. |
hubbub_save_this_filter_custom_after_post_link | Custom content section. Below post title. |
hubbub_save_this_filter_custom_before_bottom_content | Custom content section. Below post URL and before bottom content. |
hubbub_save_this_filter_custom_after_bottom_content | Custom content section. After bottom content. |
hubbub_save_this_filter_poweredby | 2.24.0 and above The Powered By text at the bottom of the email. |
hubbub_save_this_filter_subscriber_data | 2.24.0 and above Array. The subscriber’s data being sent to each mailing list service. See each service’s developer docs. |
hubbub_save_this_filter_mailing_list_service_custom_metadata | 2.24.0 and above Array. Currently only used for Kit (formerly ConvertKit). |
hubbub_save_this_filter_zapier_data | 2.24.0 and above Array. The data payload sent to Zapier. |