wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



mime_types › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
› return apply_filters(
Parametry:
  • () wp_get_mime_types Mime types keyed by the file extension regex corresponding to those types.
    Wymagane: Nie
    Domyślny: —
Zdefiniowane na:
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.




Źródło

return apply_filters(