$instance
$instance : static
Instance value.
Class Api_Backups_Utility
get_instance() : \MainWP\Dashboard\Module\ApiBackups\Api_Backups_Utility
Get Instance
Creates public static instance.
human_filesize(mixed $bytes, integer $decimals = 2) : string
Method human_filesize()
Convert to human readable file size format, (B|kB|MB|GB|TB|PB|EB|ZB|YB).
mixed | $bytes | File in bytes. |
integer | $decimals | Number of decimals to output. |
Human readable file size.
update_option(mixed $option_name, mixed $option_value) : \MainWP\Dashboard\Module\ApiBackups\(boolean)
Method update_option()
Update option.
mixed | $option_name | Option name. |
mixed | $option_value | Option value. |
False if value was not updated and true if value was updated.