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

Hooks: Actions and filters

Actions

mplus_intercom_subscription_wc_before_submit Runs before the user is created on Intercom. Arguments: ($mplusis_inter_fields, $order_id, $posted_data, $order)
mplus_intercom_subscription_wc_after_submit Runs after the user is created on Intercom. Arguments: ($response, $mplusis_inter_fields, $order_id, $posted_data, $order)

Filters

mplus_intercom_tab_settings Filter used when preparing settings fields to show. Arguments: ($settings)
mplus_wc_settings_fields Filter used when preparing shipping custom settings fields to show. Arguments: ($checkout_fields)
mplus_intercom_submitter_fields Filter used on data before sending request to intercom. Arguments: ($mplusis_inter_fields)
Was this article helpful to you? Yes No

How can we help?