Skip to main content

Filter: dt_available_pull_post_types

Filter the post types that should be available for pull.

Helpful for sites that want to pull custom post type content from another site into a different existing post type on the receiving end.

Parameters​

NameTypeDescription
$post_typesarrayPost types available for pull with name and slug.
$remote_post_typesarrayPost types available from the remote connection.
$local_post_typesarrayPost types registered as public on the local site.
$connection\ConnectionDistributor connection object.
$typestringDistributor connection type.

Since​

  • 1.3.5

Source​

Defined in includes/utils.php at line 305

Returns​

Post types available for pull with name and slug.

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.