wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_enqueue_media_frame_upload › WordPress Function

Da7.2.0
Deprecaton/a
› wp_enqueue_media_frame_upload ( Nessun parametro )
Definito a:
Codex:

Enqueues the script that routes uploads started from a media frame through the client-side media processing pipeline.

Covers every wp.media frame that uploads through wp.Uploader: the Media Library grid and the media modal the block editor, the site editor and the block widgets screen open. wp_enqueue_media() calls this on any screen wp_send_document_isolation_policy_header() isolated, so it rarely needs calling directly.


Sorgenti

function wp_enqueue_media_frame_upload(): void {
	_wp_enqueue_media_upload_pipeline_script( 'media-frame-upload' );
}