WPDev.one
Core Function
View Source on Trac ↗

wp_convert_hr_to_bytes()

wp_convert_hr_to_bytes( mixed $value )

Converts a shorthand byte value to an integer byte value.

Parameters 1 required

Name / Type Description
$value
string

A (PHP ini) byte value, either shorthand or ordinary.

Required

Return Value

(int)
An integer byte value.

Function Information

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