Plugin filters / cbc video post content

Description

Video post content filter that runs before inserting the post into the database.

Parameters

$post_content
(string)(required) The post content that will be inserted into the database.

Default:string
$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

Related