WC_Frontend_Scripts::init
Hook in methods.
Method of the class: WC_Frontend_Scripts{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Frontend_Scripts::init();
WC_Frontend_Scripts::init() WC Frontend Scripts::init code WC 10.4.3
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 );
}