beyondwords_settings_post_statuses

Filters the post statuses that BeyondWords considers for audio processing.

speechkit_post_statuses is deprecated and redirects to here. Please update to the new filter name; the functionality is exactly the same. The old filter was removed in version 4.0.0.

When a post is saved with any other post status, data will not be sent to the BeyondWords API.

The default values are publish, future, and private.

Parameters

$statuses string[]

The post statuses that we consider for audio processing.


Example

function my_beyondwords_settings_post_statuses( $statuses ) {
    // Add a custom status (which may be provided by another plugin)
    $statuses[] = 'your_custom_status';

    return $statuses;
}
add_filter( 'beyondwords_settings_post_statuses', 'my_beyondwords_settings_post_statuses' );

Changelog

Last updated