WhatsApp Notifications
ReturnDesk Pro can send WhatsApp notifications when new requests are submitted or statuses change.
Navigate to WooCommerce → ReturnDesk → Returns → WhatsApp.
Configuration
| Setting | Description |
|---|---|
| WhatsApp Number | International format (e.g., +441234567890) |
| Notification Trigger | New request submitted, Status changed, or Both |
How It Works
WhatsApp notifications use the wa.me deep link format and require the recipient to have WhatsApp installed. Messages are triggered via a server-side redirect.
For webhook-based WhatsApp (e.g., Twilio), hook into the returndesk_pro_whatsapp_send action:
add_action( 'returndesk_pro_whatsapp_send', function( string $number, string $message, array $request ): void {
// Send via Twilio or another provider.
}, 10, 3 );The WhatsApp Number field accepts one number. For multiple recipients, use the returndesk_pro_whatsapp_send action to hook in additional notifications.