This WordPress plugin adds helpers for the Matchbox support team.
- Add Matchbox's HelpScout Beacon for site admins.
- Optional image forwarding: rewrite attachment and media API URLs to load images from another domain (e.g. production) on local or staging.
Use Settings → Matchbox Support to set a Forward base URL and When to apply.
- Off — no URL rewriting.
- All environments — rewriting runs everywhere (use with care on production databases).
- Non-production only — rewriting runs only when
wp_get_environment_type()is notproduction(i.e. forlocal,development, orstaging).
Set the environment in wp-config.php, for example:
define( 'WP_ENVIRONMENT_TYPE', 'local' ); // or staging, development, productionOptional: define MATCHBOX_IMAGE_FORWARD_URL in wp-config.php to override the saved base URL (handy for local installs without changing the saved option).
Override forwarding programmatically with the matchbox_image_forward_allow filter.
Forwarded URLs are built from WordPress attachment APIs (wp_get_attachment_url, image src/srcset, REST attachment responses, etc.). Hardcoded media URLs inside saved post HTML are not rewritten.
If you previously used the separate “MDG Image Forwarding” plugin, deactivate it when using this feature to avoid double replacements.
The plugin adds a HelpScout Beacon for site admins to the site's front-end and admin areas. This allows those users to submit a support ticket from directly within their site.
- Navigate to the plugin's directory and run
composer install
- A pre-configured HelpScout Beacon.
To enable the beacon, you must define the HELPSCOUT_BEACON_ID constant in your wp-config.php file.
- Get your Beacon ID from HelpScout.
- Add
define('HELPSCOUT_BEACON_ID', 'YOUR_BEACON_ID_HERE');to the wp-config.php file. - Replace
YOUR_BEACON_ID_HEREwith your Beacon ID. - Enable the plugin.
- Reload the page to confirm your HelpScout Beacon appears on the site.