Filter: dt_available_pull_post_types

apply_filters( 'dt_available_pull_post_types', $post_types, $remote_post_types, $local_post_types, $connection, $type ) → {array}

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:
Name Type Description
$post_types array

Post types available for pull with name and slug.

$remote_post_types array

Post types available from the remote connection.

$local_post_types array

Post types registered as public on the local site.

$connection Connection

Distributor connection object.

$type string

Distributor connection type.

Since:
  • 1.3.5
Source:
Returns:

Post types available for pull with name and slug.

Type
array