Description
The video post status for the post that will be inserted into the database. Please see WP Codex Post Status for more details about the possible values.
Parameters
- $post_status
-
(string)(required) The post status. Default value will be set to user preference from plugin Settings page. See Video import options for more details.
- Default:None
- $video
-
(array)(optional) Video details returned by YouTube API.
- Default:None
- $theme_import
-
(array)(optional) If user chose to import videos for compatible WP theme, this variable will hold the theme details. Useful to separate posts created for the theme from regular video posts.
- Default:None