MP_Addon_Calls_Callback::say_message( string $text )
Say message.
Contents
Parameters Parameters
- $text
-
(string) (Required) message text.
Source Source
File: calculator-calls-add-on/inc/MP_Addon_Calls_Callback.php
protected function say_message( $text ) {
$response = new VoiceResponse();
$response->say( $text );
header( 'Content-Type: text/xml' );
echo $response;
wp_die();
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |