Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #32544, comment 7


Ignore:
Timestamp:
06/01/2016 11:50:52 PM (8 years ago)
Author:
octalmage
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32544, comment 7

    v1 v2  
    2020
    2121Basically developers would need to return all of the mime types their code adds if the $ignore_user flag is true.
     22
     23Then you can get all mime types with this:
     24
     25
     26{{{#!php
     27$all_mimes = get_allowed_mime_types( null, true );
     28}}}