WC_Frontend_Scripts::localize_printed_scripts
Localize scripts only when enqueued.
Метод класса: WC_Frontend_Scripts{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Frontend_Scripts::localize_printed_scripts();
Код WC_Frontend_Scripts::localize_printed_scripts() WC Frontend Scripts::localize printed scripts WC 11.0.1
public static function localize_printed_scripts() {
foreach ( self::$registered_scripts as $handle ) {
self::localize_script( $handle );
}
}