Description
Filter that allows you to change the default comment status for the current video post before inserting it into the database.
Parameters
- $status
-
(string)(required) The current comment status set from WordPress Settings page.
- Default:Status set in WP Settings page.
- $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