Skip to main content

Filter: dt_pull_as_draft

Filter the default value of the 'Pull as draft' option in the pull ui

Parameters

NameTypeDescription
$as_draftboolWhether the 'Pull as draft' option should be checked.
$connectionobjectThe connection being used to pull from.

Source

Defined in includes/classes/PullListTable.php at line 327

Returns

Whether the 'Pull as draft' option should be checked.

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.