Skip to main content

WordPress Hooks

Filters

Help Scout integration

Modify returned licenses array
trustedlogin/connector/customers/licenses

ParameterTypeDescriptionDefaultSince
$licenses\EDD_SL_License[],falseLicense keys associated with the passed emails.[]1.0.0
$customer_emailsarrayEmail addresses Help Scout associates with the customer.[]1.0.0

Widget template overrides

You can modify the template output implemented in the support desk (Help Scout or FreeScout) integrations using the following filters.

Replace the (helpscout|freescout) placeholder in the filter name with the support desk you are using (helpscout with freescout).

trustedlogin/connector/helpdesk/(helpscout|freescout)/template/wrapper

HTML output of the wrapper HTML elements.

trustedlogin/connector/helpdesk/(helpscout|freescout)/template/item

HTML output of the individual items HTML elements.

trustedlogin/connector/helpdesk/(helpscout|freescout)/template/no-items

HTML output of the HTML elements when no items are found.

Actions

trustedlogin_connector

This action is triggered after the plugin is initialized.

trustedlogin_connector_settings_saved

This action is triggered after the settings are saved or reset.