Filter: classifai_audio_generation_initial_state

apply_filters( 'classifai_audio_generation_initial_state', $state, $post ) → {bool}

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:
Returns:

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

Type
bool