ActionScheduler_Compatibility::convert_hr_to_bytes( string $value )

Converts a shorthand byte value to an integer byte value.


Description Description

Wrapper for wp_convert_hr_to_bytes(), moved to load.php in WordPress 4.6 from media.php


Parameters Parameters

$value

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


Top ↑

Return Return

(int) An integer byte value.


Top ↑

Source Source

File: packages/action-scheduler/classes/ActionScheduler_Compatibility.php


			


Top ↑

User Contributed Notes User Contributed Notes

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