[ 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

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



Generated: Tue Oct 8 01:00:02 2024 Cross-referenced by PHPXref 0.7.1