Exemplo n.º 1
0
 public function process()
 {
     function smtp_compose_type_callback($val)
     {
         return $val;
     }
     process_site_setting('smtp_compose_type', $this, 'smtp_compose_type_callback');
 }
Exemplo n.º 2
0
Arquivo: modules.php Projeto: R-J/hm3
 public function process()
 {
     function unread_feed_setting_callback($val)
     {
         return $val;
     }
     process_site_setting('unread_exclude_feeds', $this, 'unread_feed_setting_callback', false, true);
 }
Exemplo n.º 3
0
 public function process()
 {
     function timezone_setting_callback($val)
     {
         if (in_array($val, timezone_identifiers_list(), true)) {
             return $val;
         }
         return false;
     }
     process_site_setting('timezone', $this, 'timezone_setting_callback');
 }