cbc video update post types

Description

Filter the post types whose video posts are updated by the Update videos tool. Default: the plugin’s video post type and post. Available since Video Hub 2.3.0.

Parameters

$post_types
(string[])(required) Post types.

Examples

Also update the videos imported as posts of a theme’s custom post type.

add_filter( 'cbc_video_update_post_types', function( $post_types ) {
    $post_types[] = 'my_theme_video';
    return $post_types;
} );

Start importing in minutes

Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.