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
| Name | Type | Description |
|---|---|---|
| $enabled | bool | Whether 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.