Hooks: Actions and filters

  1. Home
  2. Docs
  3. Intercom Subscription Add...
  4. Hooks: Actions and filters

Hooks: Actions and filters

Actions

mplus-intercom-subscription_loaded Runs when the plugin is loaded.
mplus_dokan_intercom_handle_intercomm_settings Runs when Intercom Settings are saved for a vendor. Arguments: ($user_id)
mplus_intercom_subscription_dokan_before_submit Runs before the user is created on Intercom. Arguments: ($fields, $posted_data, $user_id)
mplus_intercom_subscription_dokan_after_submit Runs after the user is created on Intercom. Arguments: ($user_info, $fields, $posted_data, $user_id)
mplus_intercom_dokan_user_type_options Runs when User Type settings are being printed. Arguments: ($mplus_intercom_usertype)
mplus_intercom_dokan_fields_before Runs before Dokan mapping field settings is being printed.
mplus_intercom_dokan_fields_after Runs after Dokan mapping field settings is being printed.

Filters

mplus_intercom_dokan_save_subscription_data Filter used when saving intercom subscription data to order. Arguments: ($_POST['mplus_subscribe_to'])
mplus_intercom_dokan_submitted_fields Filter used when saving intercom subscription on checkout. Arguments: ($fields)
Was this article helpful to you? No Yes

How can we help?