WC_Frontend_Scripts::init()public staticWC 1.0

Hook in methods.

Method of the class: WC_Frontend_Scripts{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Frontend_Scripts::init();

WC_Frontend_Scripts::init() code WC 8.9.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 );
}