Skip to main content

Filter: dt_push_post_media

Allow bypassing of all media processing.

Parameters

NameTypeDescription
$booltrue If Distributor should push the post media.
$new_post_idintThe newly created post ID.
$post_mediaarrayList of media items attached to the post, formatted by {@link \Distributor\Utils\prepare_media()}.
$post_idintThe original post ID.
$argsarrayThe arguments passed into wp_insert_post.
$this\ConnectionThe distributor connection being pushed to.

Source

Defined in includes/classes/InternalConnections/NetworkSiteConnection.php at line 190

Returns

If Distributor should push the post media.

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.