Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



mime_types ›

Seit3.5.0
Veraltetn/v
Parameter:
  • (array) $wp_get_mime_types Mime types keyed by the file extension regex corresponding to those types.
    Erforderlich: Nein
    Standard:
Definiert in:
Codex:

Filters the list of mime types and file extensions.

This filter should be used to add, not remove, mime types. To remove mime types, use the {@see 'upload_mimes'} filter.





Quellcode

return apply_filters(