learndash_return_bytes_from_shorthand( int|string $val )
Converts the file size shorthand to bytes.
Description Description
Parameters Parameters
- $val
-
(Optional) Shorthand notation for file size like 1024M. Default 0.
Return Return
(int) Returns the bytes after converting from shorthand.
Source Source
File: includes/ld-assignment-uploads.php