Пример #1
0
/**
 * Get a setting with the given key.
 *
 * @param string $key
 *
 * @return array|bool|mixed|null
 */
function siteorigin_panels_setting($key = '')
{
    $settings = SiteOrigin_Panels_Settings::single();
    return $settings->get($key);
}
Пример #2
0
/**
 * Get a setting with the given key.
 *
 * @param string $key
 *
 * @return array|bool|mixed|null
 */
function siteorigin_panels_setting($key = '')
{
    return SiteOrigin_Panels_Settings::single()->get($key);
}