Skip to main content

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

NameTypeDescription
$preboolA value of pre synthesize speech. Default false.
$synthesize_dataarrayHTTP 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.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.