apply_filters( 'vimeotheque\allow_import', bool $allow , array $video , string $post_type , false $false )
Filter that allows video imports.
Description
Can be used to prevent importing of videos.
Parameters
- $allow
-
Allow video improts to be made (true) or prevent them (false).
- $video
-
Video details array.
- $post_type
-
The post type that should be created from the video details.
- $false
-
An unset parameter.