WordPress at a glance
function is not described

WP_Widget_Media::enqueue_admin_scripts() public WP 4.8.0

Loads the required scripts and styles for the widget control.

{} It's a method of the class: WP_Widget_Media{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Widget_Media = new WP_Widget_Media();
$WP_Widget_Media->enqueue_admin_scripts();

Changelog

Since 4.8.0 Introduced.

Code of WP_Widget_Media::enqueue_admin_scripts() WP 5.7.2

<?php
public function enqueue_admin_scripts() {
	wp_enqueue_media();
	wp_enqueue_script( 'media-widgets' );
}