WordPress at Your Fingertips
function is not described

WC_Frontend_Scripts::localize_printed_scripts() public WC 1.0

Localize scripts only when enqueued.

{} It's a method of the class: WC_Frontend_Scripts{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Frontend_Scripts::localize_printed_scripts();

Code of WC_Frontend_Scripts::localize_printed_scripts() WC 5.7.1

public static function localize_printed_scripts() {
	foreach ( self::$scripts as $handle ) {
		self::localize_script( $handle );
	}
}