convert_hr_to_bytes()
convert_hr_to_bytes(string $value) : int
Converts a shorthand byte value to an integer byte value.
Wrapper for wp_convert_hr_to_bytes(), moved to load.php in WordPress 4.6 from media.php
Parameters
string | $value | A (PHP ini) byte value, either shorthand or ordinary. |
Returns
int —An integer byte value.