ShopMagic Twilio hooks
shopmagic/twilio/send_sms/remote_post_args
Request arguments to Twilio API. You can easily edit all SMS data.
Especially:
$args['body']['To'] - receiver phone number.
$args['body']['From'] - sender phone number.
$args['body']['Body'] - message content.
Parameters:
- array $args wp_remote_post arguments.
- \Event $event Event that was the reason to fire the action.
- \Automation $automation Automation that runs the action.
Returns: array wp_remote_post arguments.
Hook available since version: 1.0
Also see: https://developer.wordpress.org/reference/functions/wp_remote_post/