Filter: dt_allow_as_draft_distribute

apply_filters( 'dt_allow_as_draft_distribute', $as_draft, $connection, $post ) → {bool}

Filter whether the 'As Draft' option appears in the push ui.

Parameters:
Name Type Description
$as_draft bool

Whether the 'As Draft' option should appear.

$connection object

The connection being used to push.

$post WP_Post

The post being pushed.

Source:
Returns:

Whether the 'As Draft' option should appear.

Type
bool