Gets the available media types.
Description
See also
Return
(array) Array of <code>$media_type => $file_extensions</code> pairs.
Source
File: src/db-objects/elements/element-types/base/media.php
protected function get_media_types() { return wp_get_ext_types(); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |