WPDev.one
Core Function
View Source on Trac ↗

wp_convert_bytes_to_hr()

wp_convert_bytes_to_hr( mixed $bytes )

Converts an integer byte value to a shorthand byte value.

Parameters 1 required

Name / Type Description
$bytes
int

An integer byte value.

Required

Return Value

(string)
A shorthand byte value.

Function Information

Since Version
2.3.0
Source File
wp-includes/deprecated.php
Advertisement