File: /www/wwwroot/q.autos58.cn/wp-content/themes/kong20/inc/inc.php
<?php
$require_once = array(
'inc/codestar-framework/codestar-framework.php',
'inc/options/admin-options.php',
'inc/options/taxonomy-options.php',
'inc/options/metabox-options.php',
'inc/options/widget-options.php',
'inc/functions/functions.php',
);
foreach ($require_once as $require) {
$file = get_theme_file_path('/' . $require);
if (file_exists($file)) {
require_once $file;
}
}
/*options key */
function _hua($option = '', $default = null) {
$options = get_option('hua_options');
if (!isset($options[$option]) && WP_DEBUG) {
error_log("Option '{$option}' not found in hua_options.");
}
return $options[$option] ?? $default;
}