mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update functions.php
This commit is contained in:
parent
be50cb1d9c
commit
e6ef601703
1 changed files with 0 additions and 8 deletions
|
@ -568,14 +568,6 @@ function url_arg($url, $arg, $value, $amp = '&')
|
||||||
return $url . $anchor;
|
return $url . $anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds commas between every group of thousands
|
|
||||||
*/
|
|
||||||
function commify($number): string
|
|
||||||
{
|
|
||||||
return number_format($number);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a size formatted in a more human-friendly format, rounded to the nearest GB, MB, KB..
|
* Returns a size formatted in a more human-friendly format, rounded to the nearest GB, MB, KB..
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue