woocommerce_init action-hookWC 1.0

Action triggered after WooCommerce initialization finishes.

Usage

add_action( 'woocommerce_init', 'wp_kama_woocommerce_init_action' );

/**
 * Function for `woocommerce_init` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_init_action(){

	// action...
}

Where the hook is called

WooCommerce::init()
woocommerce_init
woocommerce/includes/class-woocommerce.php 657
do_action( 'woocommerce_init' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment

Where the hook is used in WooCommerce

Usage not found.