apply_filters( 'dt_auto_distribution_enabled', $enabled ) → {bool}
Filter whether auto-distribution is enabled.
To enable auto-distribution, you can use the code:
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:
Returns:
Whether the auto-distribution feature is enabled.
- Type
- bool