1. Home
  2. Intercom Subscription Add On – EDD
  3. Hooks: Actions and filters

Hooks: Actions and filters

Actions

mplus_before_subscription_checkbox Runs before printing the subscription checkbox on screen.
mplus_after_subscription_checkbox Runs after printing the subscription checkbox on screen.
mplus_before_intercom_settings Runs before printing the settings.
mplus_after_intercom_settings Runs after printing the settings.
mplus_intercom_subscription_edd_before_submit Runs before the user is created on Intercom. Arguments: ($fields, $post_data)
mplus_intercom_subscription_edd_after_submit Runs after the user is created on Intercom. Arguments: ($user_info, $fields, $post_data)

Filters

mplus_intercom_edd_submitted_fields Filter that the subscription form fields are passed to. Arguments: ($fields)
mplus_edd_settings_intercom Filter that handles settings fields. Arguments: ($edd_settings)
mplus_edd_settings_sections_intercom Filter that handles settings sections. Arguments: ($sections)
mplus_edd_checkout_fields Filter that handles the checkout fields. Arguments: ($checkout_fields)
Was this article helpful to you? Yes No

How can we help?