wpseek.com
WordPress开发者和主题制作者的搜索引擎
media_library_show_video_playlist › WordPress过滤钩子
Since4.8.0
已弃用n/a
› apply_filters( 'media_library_show_video_playlist', true )
| 参数: |
|
| 定义在: |
|
| 文档: |
Allows showing or hiding the "Create Video Playlist" button in the media library.
By default, the "Create Video Playlist" button will always be shown in the media library. If this filter returns `null`, a query will be run to determine whether the media library contains any video items. This was the default behavior prior to version 4.8.0, but this query is expensive for large media libraries.Related Functions: wp_get_media_library_mode, media_upload_video, wp_get_media_library_upload_settings, media_handle_sideload, media_upload_library_form, media_handle_upload