Skip to main content

Filter: dt_auto_distribution_enabled

Filter whether auto-distribution is enabled.

To enable auto-distribution, you can use the code: php add_filter( 'dt_auto_distribution_enabled', '__return_true' ); Enabling auto-distribution will automatically distribute posts upon publication to all network and external connections that the post had not already been distributed to. These posts will be distributed as published posts, not drafts.

Parameters

NameTypeDescription
$enabledboolWhether the auto-distribution feature is enabled. Default false.

Since

  • 2.2.0

Source

Defined in includes/auto-distribute.php at line 58

Returns

Whether the auto-distribution feature is enabled.

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.