| Server IP : 103.249.100.196 / Your IP : 216.73.217.122 Web Server : Apache System : Linux cp196.maytech.vn 5.14.0-687.66.2.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 6 16:20:31 EST 2026 x86_64 User : dlsafepha ( 1078) PHP Version : 8.2.36 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home2/dlsafepha/././public_html/wp-content/plugins/popup-maker/includes/functions/utils/ |
Upload File : |
<?php
/**
* Functions for Format Utility
*
* @package PopupMaker
* @copyright Copyright (c) 2024, Code Atlantic LLC
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* @param int $time
* @param int|null $current
*
* @return mixed
*/
function pum_human_time( $time, $current = null ) {
return PUM_Utils_Format::human_time( $time, $current );
}
/**
* @param int|float $number
* @param string $format
*
* @return int|string
*/
function pum_format_number( $number, $format = '' ) {
return PUM_Utils_Format::number( $number, $format );
}
/**
* @param int|float $number
* @param string $format U|human|human-readable
*
* @return int|string
*/
function pum_format_time( $number, $format = '' ) {
return PUM_Utils_Format::time( $number, $format );
}