WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_video_shortcode_library

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/media.php apply_filters 3376 /**
* Filters the media library used for the video shortcode.
*
* @since 3.6.0
*
* @param string $library Media library used for the video shortcode.
*/
wp-includes/widgets/class-wp-widget-media-video.php apply_filters 176 /**
* Enqueue preview scripts.
*
* These scripts normally are enqueued just-in-time when a video shortcode is used.
* In the customizer, however, widgets can be dynamically added and rendered via
* selective refresh, and so it is important to unconditionally enqueue them in
* case a widget does get added.
*
* @since 4.8.0
*/

Hook Parameters

Parameter Type Name Description
string $library Media library used for the video shortcode.