Filter: dt_allow_as_draft_distribute
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
- Defined in
templates/show-connections.phpat line 67 - Defined in
templates/show-connections-amp.phpat line 69
Returns
Whether the 'As Draft' option should appear.