$browser, 'os' => $os, 'device' => $device, 'user_agent' => $user_agent ]; } public static function adtosh_human_time( $time ) { $timestamp = strtotime( $time ); // get human readable diff return human_time_diff( $timestamp, current_time('timestamp') ) . ' ago'; } }