Wsparcie » Motywy » modyfikacja funkcji w motywie zależnym

  • W motywie głównym mam taką funkcję:

    function emphaino_enqueue_webfonts() {
    $font_families[] = 'PT+Sans:400,700,400italic’;
    $font_families[] = 'Bree+Serif’;

    $protocol = is_ssl() ? 'https’ : 'http’;
    $query_args = array(
    'family’ => implode( '|’, $font_families ),
    );
    wp_enqueue_style( 'webfonts’, add_query_arg( $query_args, „$protocol://fonts.googleapis.com/css” ), array(), null );
    }

    Jak najlepiej zmienić tą funkcję w motywie zależnym?
    Chcę zmienić tylko
    $font_families[] = 'Bree+Serif';
    na
    $font_families[] = 'Bree+Serif&subset=latin,latin-ext';
    `

  • Temat ‘modyfikacja funkcji w motywie zależnym’ jest zamknięty na nowe odpowiedzi.