Files
2026-04-23 04:33:43 +03:30

23 lines
396 B
PHP

<?php
defined( 'ABSPATH' ) || exit;
class Upstudy {
/**
* Get settings for Kirki
*
* @param string $option_name
* @param string $default
*
* @return mixed
*/
public static function setting( $option_name = '', $default = '' ) {
$value = Upstudy_Kirki::get_option( 'upstudy_theme_config', $option_name );
$value = $value === null ? $default : $value;
return $value;
}
}