WC_Frontend_Scripts::localize_printed_scripts
Localize scripts only when enqueued.
Method of the class: WC_Frontend_Scripts{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Frontend_Scripts::localize_printed_scripts();
WC_Frontend_Scripts::localize_printed_scripts() WC Frontend Scripts::localize printed scripts code WC 10.6.2
public static function localize_printed_scripts() {
foreach ( self::$registered_scripts as $handle ) {
self::localize_script( $handle );
}
}