public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/functions.php
/**
 * Returns the maximally uploadable file size in megabytes.
 *
 * @since 1.0.0
 *
 * @return string
 */
Returns the maximally uploadable file size in megabytes.

@return string
Returns the maximally uploadable file size in megabytes . @return string
function WPCW_files_getMaxUploadSize() {
	$max_upload   = (int) ( ini_get( 'upload_max_filesize' ) );
	$max_post     = (int) ( ini_get( 'post_max_size' ) );
	$memory_limit = (int) ( ini_get( 'memory_limit' ) );
	return min( $max_upload, $max_post, $memory_limit ) . __( 'MB', 'wp-courseware' );
}
function WPCW_files_getMaxUploadSize ( ) { $ max_upload = ( int ) ( ini_get ( 'upload_max_filesize' ) ) ; $ max_post = ( int ) ( ini_get ( 'post_max_size' ) ) ; $ memory_limit = ( int ) ( ini_get ( 'memory_limit' ) ) ; return min ( $ max_upload , $ max_post , $ memory_limit ) . __ ( 'MB' , 'wp-courseware' ) ; }
Returns the maximally uploadable file size in megabytes.
Returns the maximally uploadable file size in megabytes .