Description

Filter cvm_import_category can be used to instruct the plugin to import Vimeo videos having the taxonomy of any registered post type. This will set all videos imported by the plugin to use the taxonomy specified.
Useful when importing videos into WordPress with a different post type, other than post (regular posts) or vimeo-videos (implemented by the plugin).

Parameters

$taxonomy
(string)(required) The taxonomy name

Default:False

Examples

The following example will assume that a post type portfolio is already registered by a third party plugin and its taxonomy name is portfolio_category.

function cvm_change_import_category(){
    return 'portfolio_category';
}
add_filter( 'cvm_import_category', 'cvm_change_import_category' );

Related