WordPress Hooks
Filters
Help Scout integration
Modify returned licenses array
trustedlogin/connector/customers/licenses
Parameter | Type | Description | Default | Since |
---|---|---|---|---|
$licenses | \EDD_SL_License[] ,false | License keys associated with the passed emails. | [] | 1.0.0 |
$customer_emails | array | Email 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.