WordPress at Your Fingertips
function is not described

WC_Frontend_Scripts::init() public WC 1.0

Hook in methods.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Frontend_Scripts::init();

Code of WC_Frontend_Scripts::init() WC 5.7.0

public static function init() {
	add_action( 'wp_enqueue_scripts', array( __CLASS__, 'load_scripts' ) );
	add_action( 'wp_print_scripts', array( __CLASS__, 'localize_printed_scripts' ), 5 );
	add_action( 'wp_print_footer_scripts', array( __CLASS__, 'localize_printed_scripts' ), 5 );
}