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

VersionDescription

4.3.0

Deprecate beyondwords_post_statuses for beyondwords_settings_post_statuses.

3.7.0

Deprecate speechkit_post_statuses for beyondwords_post_statuses.

3.2.0

Introduced.

Last updated