Description
Triggers when trying to import an already existing video post. In this case, the plugin will skip importing the video in order to prevent duplicate posts. The action is useful if you want to assign extra categories to existing videos.
Parameters
- $posts
-
(array)(optional) Existing posts that were found when trying to import videos.
- Default:None
- $taxonomy
-
(string)(optional) The category taxonomy
- Default:None
- $category
-
(string)(optional) The category that should be added if missing
- Default:None
Examples
For video posts that were skipped because they were duplicates, add any extra categories that might be set by imports other than the original one.