before_woocommerce_init action-hookWC 1.0

Action triggered before WooCommerce initialization begins.

Usage

add_action( 'before_woocommerce_init', 'wp_kama_before_woocommerce_init_action' );

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

	// action...
}

Where the hook is called

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

Where the hook is used in WooCommerce

Usage not found.