/** * Function to get maximum upload size of a file. * @return file size * @author Praveen Rajan */ function get_max_size() { return intval(CvgCore::wp_convert_bytes_to_kb(wp_max_upload_size())); }