Skip to main content

Filter: dt_pull_post_media

Allow bypassing of all media processing.

Parameters

NameTypeDescription
$booltrue If Distributor should set 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()}.
$remote_post_idintThe original post ID.
$post_arrayarrayThe arguments passed into wp_insert_post.
$this\NetworkSiteConnectionThe Distributor connection being pulled from.

Source

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

Returns

If Distributor should set 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.