size_format Wordpress function


Description:

Convert number of bytes largest unit bytes will fit into.


Syntax:


Arguments:

(int|string) $bytes Number of bytes. Note max integer size for integers.
(int) $decimals Precision of number of decimal places. Deprecated.


Return Type:

(bool|string) False on failure. Number string on success.


Define At:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/size_format


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×