Enable local logging of successful AutomateWoo Twilio SMS requests for debugging. This records message data on the WordPress site.
Note:
This is a developer-level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customization work. We are unable to provide support for customization under our Support Policy.
Before you begin
↑ Back to topComplete the AutomateWoo Twilio integration. If you use the constant (Option 2 below), make a backup before editing wp-config.php. The log contains the recipient phone number, sender number or ID, and message text; consider who can access your site’s logs and how long they are retained.
Enable SMS logging
↑ Back to topOption 1: Use the setting
- Go to AutomateWoo > Settings > Twilio.
- Select SMS logging, then select Save changes. Logging is off by default.
Option 2: Use a constant (developers)
In wp-config.php, add this definition before WordPress loads its settings:
define( 'AUTOMATEWOO_LOG_SENT_SMS', true );
Logging is enabled if either the setting is selected or the constant is true. Setting the constant to false doesn’t override an enabled checkbox.
After a successful SMS request, go to WooCommerce > Status > Logs and open the log whose source starts with automatewoo-sent-sms. Failed requests aren’t included in this log. A successful request does not confirm handset delivery; check the message status in Twilio.
To stop logging future requests, clear SMS logging in AutomateWoo > Settings > Twilio and select Save changes. Also remove the constant definition or set it to false if it is present. This does not remove existing log entries.
Questions and support
↑ Back to topSomething missing from this documentation? Still have questions and need assistance?
- If you have a question about an extension or theme you’d like to purchase, visit our contact page and use the AI Assistant or contact options.
- If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.