check_upload_mimes

Advertisement

Summery Summery

Check an array of MIME types against a whitelist.

Syntax Syntax

check_upload_mimes( array $mimes )

Description Description

WordPress ships with a set of allowed upload filetypes, which is defined in wp-includes/functions.php in get_allowed_mime_types(). This function is used to filter that list against the filetype whitelist provided by Multisite Super Admins at wp-admin/network/settings.php.

Parameters Parameters

$mimes

(Required)

Return Return

(array)

Source Source

File: wp-includes/ms-functions.php

					'post_date_gmt' => $recent_post['post_date_gmt'],
					'post_gmt_ts'   => $post_gmt_ts,
				);
			}
		}
	}

	return $most_recent_post;
}

//
// Misc functions.

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply