Skip to main content

Filter: classifai_audio_generation_initial_state

Initial state of the audio generation toggle when no audio already exists for the post.

Parameters​

NameTypeDescription
$stateboolInitial state of audio generation toggle on a post. Default true.
$post\WP_PostThe current Post object.

Since​

  • 2.3.0

Source​

Defined in includes/Classifai/Features/TextToSpeech.php at line 1013

Returns​

Initial state the audio generation toggle should be set to when no audio exists.

Ready to Get Started?

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