WordPress has list of allowed Media Library upload extensions in wp-includes/functions.php but is there any way to return them to theme's files as an array?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
get_allowed_mime_types() function returns an array of mime types keyed by the file extension regex corresponding to those types. |
|||
|
|
|
I believe you're looking for the |
|||||||||||
|