WordPress\AiClient\Builders
PromptBuilder::isSupportedForTextToSpeechConversion
Checks if the prompt is supported for text to speech conversion.
Метод класса: PromptBuilder{}
Хуков нет.
Возвращает
bool. True if text to speech conversion is supported.
Использование
$PromptBuilder = new PromptBuilder(); $PromptBuilder->isSupportedForTextToSpeechConversion(): bool;
Список изменений
| С версии 0.1.0 | Введена. |
Код PromptBuilder::isSupportedForTextToSpeechConversion() PromptBuilder::isSupportedForTextToSpeechConversion WP 7.1.4
public function isSupportedForTextToSpeechConversion(): bool
{
return $this->isSupported(CapabilityEnum::textToSpeechConversion());
}