apply_filters( 'dt_pull_as_draft', $as_draft, $connection ) → {bool}
Filter the default value of the 'Pull as draft' option in the pull ui
Parameters:
Name | Type | Description |
---|---|---|
$as_draft |
bool | Whether the 'Pull as draft' option should be checked. |
$connection |
object | The connection being used to pull from. |
- Source:
Returns:
Whether the 'Pull as draft' option should be checked.
- Type
- bool