Adding plist and IPA files to wordpress

Want to upload your iOS applications to your own website to distribute. First you will need to allow wordpress to accept IPA and plist files, you will need to add this to your Theme Functions file (functions.php), through the wordpress editor, or editing the php file on your webserver.

function my_myme_types($mime_types){
    $mime_types['ipa'] = 'application/octet-stream'; //Adding ipa extension
    $mime_types['plist'] = 'text/xml'; //Adding api extension
    return $mime_types;
add_filter('upload_mimes', 'my_myme_types', 1, 1);

Leave a comment

Your email address will not be published. Required fields are marked *