Example #1
0
 public function getStatusInformationHTML()
 {
     $html = parent::getStatusInformationHTML();
     $date_format = get_option('date_format') . ' ' . get_option('time_format');
     $next_cron_update = wp_next_scheduled('geoipdetectupdate');
     $html .= '<br />' . sprintf(__('Next update: %s', 'geoip-detect'), $next_cron_update ? date_i18n($date_format, $next_cron_update) : __('Never', 'geoip-detect'));
     return $html;
 }