wp_video_shortcode_library WordPress Filter Hook

The wp_video_shortcode_library Wordpress hook is used to add video libraries to the WordPress video shortcode. This hook allows you to add new video libraries, or add support for additional video formats to existing libraries.

apply_filters( 'wp_video_shortcode_library', string $library ) #

Filters the media library used for the video shortcode.


Parameters

$library

(string)Media library used for the video shortcode.


Top ↑

Source

File: wp-includes/media.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More