Filter: classifai_ . self::ID . _pre_synthesize_speech
Filters the return value of the synthesize speech function.
Returning a non-false value from the filter will short-circuit the synthesize speech request and return early with that value. This filter is useful for E2E tests.
Parameters
| Name | Type | Description |
|---|---|---|
| $pre | bool | A value of pre synthesize speech. Default false. |
| $synthesize_data | array | HTTP request arguments. |
Since
- 3.1.0
Source
Defined in includes/Classifai/Providers/AWS/AmazonPolly.php at line 480
Returns
The filtered value of pre synthesize speech.