Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51992, comment 4


Ignore:
Timestamp:
01/27/2021 10:13:11 PM (3 years ago)
Author:
whyisjake
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51992, comment 4

    initial v1  
    55Code:
    66
     7{{{
    78function custom_upload_mimes ( $existing_mimes=array() ) {
    89    $existing_mimes['dwg'] = 'image/vnd.dwg';
     
    1011}
    1112add_filter('upload_mimes', 'custom_upload_mimes');
     13}}}
    1214
    1315Plugin: WP Extra File Types | File Upload Types by WPForms