Save This Actions and Filters

Requires Hubbub Pro 2.23.0 or above and a Pro+ license.

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.

ℹ️ Need more? For a complete list, see our docs for Hubbub’s filters and actions.

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 #

ActionWhen called
hubbub_save_this_action_preparingFirst action called, preparing the email.
hubbub_save_this_action_before_sentJust prior to sending the Save This email.
hubbub_save_this_action_sentSave This email has just been sent.
hubbub_save_this_action_before_count_incrementJust prior to incrementing the count of the number of times this post had been “Saved”.
hubbub_save_this_action_countedCounted!
hubbub_save_this_action_before_cookieJust 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_addJust prior to adding the email address to the selected Mailing List Service.
hubbub_save_this_action_mailing_list_addedAdded to a mailing list!
hubbub_save_this_action_mailing_list_added_convertkitAdded to ConvertKit
hubbub_save_this_action_mailing_list_added_flodeskAdded to Flodesk
hubbub_save_this_action_mailing_list_added_mailchimpAdded to MailChimp
hubbub_save_this_action_mailing_list_added_mailerliteAdded to MailerLite
hubbub_save_this_action_mailing_list_added_mailerlite_classicAdded to MailerLite Classic

List of Filters #

FilterNotes
hubbub_save_this_filter_post_urlThe URL of the post being saved. This will be used within links in the email. As of 2.31.0, this starts as the URL the form was rendered with (see hubbub_save_this_form_filter_post_url in Save This Form Filters), not a URL sent by the visitor’s browser.
hubbub_save_this_filter_post_raw_urlThe 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_titleThe title of the post being saved. As of 2.31.0, this starts as the title the form was rendered with (see hubbub_save_this_form_filter_post_title).
hubbub_save_this_filter_email_fromnameThe “From Name” provided in Hubbub > Save This settings.
hubbub_save_this_filter_email_fromaddressThe “From Address” provided in Hubbub > Save This settings.
hubbub_save_this_filter_email_featuredimageurlThe URL of the featured image for the post.
hubbub_save_this_filter_email_messageThe “Email Message” provided in Hubbub > Save This settings.
hubbub_save_this_filter_email_bottomcontentThe “Bottom Content” provided in Hubbub > Save This settings.
hubbub_save_this_filter_email_subjectThe default email subject which is “You Saved This: %post_title%”.
hubbub_save_this_filter_email_headingThe default heading which is “You Saved This:”.
hubbub_save_this_filter_post_title_linkAn 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_titleThe Site Title in the footer of the email
hubbub_save_this_filter_image_urlThe URL of the image provided in Hubbub > Save This settings.
hubbub_save_this_filter_email_customlinkcolorThe Custom Link Color provided in Hubbub > Save This settings.
hubbub_save_this_filter_should_save_cookieString (expected: “false”). Determines whether or not to save a cookie. Default ‘true’.
hubbub_save_this_filter_html_templateThe raw HTML template prior to adding any content to it.
hubbub_save_this_filter_html_email_completeThe raw HTML template after adding all of the content just before sending.
hubbub_save_this_filter_headersThe headers array including FROM, TO, etc.
hubbub_save_this_filter_custom_after_logoCustom content section. Below site name or logo.
hubbub_save_this_filter_custom_after_messageCustom content section. Below email message area.
hubbub_save_this_filter_custom_after_post_linkCustom content section. Below post title.
hubbub_save_this_filter_custom_before_bottom_contentCustom content section. Below post URL and before bottom content.
hubbub_save_this_filter_custom_after_bottom_contentCustom content section. After bottom content.
hubbub_save_this_filter_poweredby2.24.0 and above
The Powered By text at the bottom of the email.
hubbub_save_this_filter_subscriber_data2.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_metadata2.24.0 and above
Array. Currently used for Kit (formerly ConvertKit) and Drip. As of 2.31.0, includes hubbub_form_id and hubbub_form_name when the visitor used a Save This form created on the Forms tab.
hubbub_save_this_filter_zapier_data2.24.0 and above
Array. The data payload sent to Zapier. As of 2.31.0, includes form_id and form_name when the visitor used a Save This form created on the Forms tab.
hubbub_save_this_should_send_email2.29.2 and above
Boolean. Determines whether or not to send the Save This email. Default true. Return false to skip only the email; the mailing list and Zapier still run.
hubbub_save_this_rate_limit2.31.0 and above
Array with max (number of emails) and window (seconds). How many Save This emails one address can receive per window. Default: 10 per hour. A max of 0 turns the limit off (not recommended).

Example: allow up to 20 Save This emails per address per hour.

add_filter( 'hubbub_save_this_rate_limit', function ( $limit ) {
	$limit['max'] = 20;
	return $limit;
} );

Was this content helpful?

Updated on October 28, 2026