Filter: classifai_disable_post_to_audio_block

apply_filters( 'classifai_disable_post_to_audio_block', $is_disabled, $_post ) → {bool}

Filter to disable the rendering of the Text to Speech block.

Parameters:
Name Type Description
$is_disabled bool

Whether to disable the display or not. By default - false.

$_post WP_Post

The Post object.

Since:
  • 2.2.0
Source:
Returns:

Whether the audio block should be shown.

Type
bool