Modify allowed post statuses

Broadcast will generally only broadcast posts with specific post statuses.

The list can be found in src/traits/broadcasting.php, in the threewp_broadcast_prepare_broadcasting_data function.

$allowed_post_status = apply_filters( 'threewp_broadcast_allowed_post_statuses', [ 'pending', 'private', 'publish' ] );

To allow for other post statuses, use the snippet below:

/**
 @brief		Add some extra post statuses.
 @since		2018-04-06 11:51:36
**/
function bc_threewp_broadcast_allowed_post_statuses( $statuses )
{
 $statuses []= 'customstatus';
 return $statuses;
}
add_filter( 'threewp_broadcast_allowed_post_statuses', 'bc_threewp_broadcast_allowed_post_statuses' );