Tribe__Events__Community__Main::max_file_size_exceeded()

Indicates whether or not the image size was exceeded

Contents


Return

(boolean)


Top ↑

Source

File: src/Tribe/Main.php

		public function max_file_size_exceeded() {
			return (
				isset( $_SERVER['CONTENT_LENGTH'] )
				&& (int) $_SERVER['CONTENT_LENGTH'] > $this->max_file_size_allowed()
			);
		}