Esempio n. 1
0
function options($option = null)
{
    static $options;
    if (!isset($options)) {
        $options = \starise\Solero\Options::getByFile(__FILE__);
        $options['fonts'] =& $options[0];
    }
    return is_bool($options[$option]) ? false : implode_fonts($options[$option]);
}
Esempio n. 2
0
function options($option = null)
{
    static $options;
    if (!isset($options)) {
        $options = \starise\Solero\Options::getByFile(__FILE__) + ['', 'wp_footer'];
        $options['gaID'] =& $options[0];
        $options['hook'] =& $options[1];
    }
    return is_null($option) ? $options : $options[$option];
}