Plugin filters / cbc allow single video import

Description

By default, when trying to import a new single video, the plugin will display a simple form asking for the video ID. If you want to prevent this from happening, this filter can be used to prevent the plugin from overriding the single video import process.
This is useful in rare cases when WP theme uses the same post type as the plugin.

Parameters

$allow
(boolean)(required) Allow plugin to override the single post creation screen (true) or disallow it (false).

Default:true

Examples

Stop the plugin from overriding the single video creation.

add_filter( 'cbc_allow_single_video_import', '__return_false' );

Related