wp-content/themes/twentyfourteen/inc/widgets.php:52Enqueues scripts.
2 hooks fire while Twenty_Fourteen_Ephemera_Widget::enqueue_scripts() runs, in this order:
Filters the media library used for the audio shortcode.
Filters the media library used for the video shortcode.
public function enqueue_scripts() { /** This filter is documented in wp-includes/media.php */ $audio_library = apply_filters( 'wp_audio_shortcode_library', 'mediaelement' ); /** This filter is documented in wp-includes/media.php */ $video_library = apply_filters( 'wp_video_shortcode_library', 'mediaelement' ); if ( in_array( 'mediaelement', array( $video_library, $audio_library ), true ) ) { wp_enqueue_style( 'wp-mediaelement' ); wp_enqueue_script( 'mediaelement-vimeo' ); wp_enqueue_script( 'wp-mediaelement' ); } }Introduced in Twenty Fourteen 1.7. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyfourteen/inc/widgets.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.