Description
When importing videos for your WordPress theme, you might want to set a different post format, other than the default “video
” set by the plugin. Using this filter allows you to set any post format for videos being imported. Please note that videos already imported won’t be modified if using the filter at a later time.
This filter is part of the Third party compatibility tutorial.
Parameters
- $post_format
-
(string)(required) The post format that should be set for future imported videos.
- Default:video
Examples
Change post type to anything other than post format “video
“.
Related
- Third party compatibility
- cbc compatibility
- cbc compatibility post type
- cbc compatibility taxonomy
- cbc compatibility tag taxonomy
- cbc compatibility url meta
- cbc compatibility embed meta
- cbc compatibility image meta
- cbc compatibility likes meta
- cbc compatibility views meta
- cbc compatibility dislikes meta
- cbc compatibility duration meta
- cbc compatibility theme name
- cbc compatibility theme url
- cbc compatibility human duration meta