Skip to main content

Filter: dt_allow_as_draft_distribute

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

Parameters​

NameTypeDescription
$as_draftboolWhether the 'As Draft' option should appear.
$connectionobjectThe connection being used to push.
$post\WP_PostThe post being pushed.

Source​

Returns​

Whether the 'As Draft' option should appear.

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.