WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp convert bytes to hr


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use size_format instead.

Description

Converts an integer byte value to a shorthand byte value.

Parameters

$bytes
(int) (required) An integer byte value.
Default: None

Return

Returns a shorthand byte value in the form of a string.

Change Log

Related