Description

Filter cvm_import_tag is used when we want to instruct the plugin to import Vimeo videos having the tag taxonomy of any registered post type. This will set all videos imported by the plugin to use the tag 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

$tag_taxonomy
(string)(required) A registered 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 tag taxonomy name is portfolio_tag.

function cvm_change_import_tags(){
    return 'portfolio_tag';
}
add_filter( 'cvm_change_import_tags', 'cvm_import_tag' );

Related