[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> media-utils.js (summary)

(no description)

File Size: 715 lines (23 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MediaUpload:: (2 methods):
  getMimeTypesArray()
  createMediaFromFile()


Class: MediaUpload  - X-Ref

getMimeTypesArray(wpMimeTypesObject)   X-Ref
No description

createMediaFromFile(file, additionalData)   X-Ref

param: {File}    file           Media File to Save.
param: {?Object} additionalData Additional data to include in the request.
return: {Promise} Media Object Promise.



Generated: Sat Aug 13 01:00:02 2022 Cross-referenced by PHPXref 0.7.1