Filter: classifai_audio_generation_initial_state
Initial state of the audio generation toggle when no audio already exists for the post.
Parameters
Name | Type | Description |
---|---|---|
$state | bool | Initial state of audio generation toggle on a post. Default true. |
$post | \WP_Post | The current Post object. |
Since
- 2.3.0
Source
Defined in includes/Classifai/Features/TextToSpeech.php
at line 824
Returns
Initial state the audio generation toggle should be set to when no audio exists.