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.


Top ↑

Return Return

(int) Returns the bytes after converting from shorthand.


Top ↑

Source Source

File: includes/ld-assignment-uploads.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.