Skip to main content

Filter: dt_auto_distribute_post

Filter to determine if a post should be auto-distributed.

Parameters

NameTypeDescription
$should_distributeboolWhether the post should be auto-distributed.
$post\WP_PostWP_Post object for the post being pushed.
$user_idintUser ID of the user pushing the post.
$connection_typestringType of connection ('external' or 'internal').
$connection_idintConnection ID.

Since

  • 2.2.0

Source

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

Returns

Whether the post should be auto-distributed.

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.