Tribe__Events__Community__Main::max_file_size_allowed()

Indicate the max upload size allowed


Return

(int)


Top ↑

Source

File: src/Tribe/Main.php

		public function max_file_size_allowed() {
			/**
			 * Filter the the max upload size allowed.
			 *
			 * By default, it's using the `wp_max_upload_size()` value
			 *
			 * @since 4.5.12
			 *
			 * @param int `wp_max_upload_size()` The default WordPress max upload size.
			 */
			return apply_filters( 'tribe_community_events_max_file_size_allowed', wp_max_upload_size() );
		}

Top ↑

Changelog

Changelog
Version Description
4.5.12 Introduced.