Filter: dt_sync_media_delete_and_replace
Filter whether media should be deleted and replaced if it already exists.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | bool | true Whether pre-existing media should be deleted and replaced. Default false. |
| $post_id | int | The post ID. |
Since
- 1.0.0
Source
Defined in includes/utils.php at line 1132
Returns
Whether pre-existing media should be deleted and replaced.