23 lines
432 B
PHP
23 lines
432 B
PHP
<?php
|
|
|
|
if (!defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
function alcastromol_setup_general_settings() {
|
|
|
|
if (get_option('alcastromol_general_done')) {
|
|
return;
|
|
}
|
|
|
|
update_option('WPLANG', 'es_MX');
|
|
|
|
update_option('timezone_string', 'America/Mexico_City');
|
|
|
|
update_option('date_format', 'd/m/Y');
|
|
|
|
update_option('time_format', 'g:i a');
|
|
|
|
update_option('alcastromol_general_done', 1);
|
|
|
|
} |