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
| 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
Defined in includes/utils.php at line 305
Returns
Post types available for pull with name and slug.