woocommerce_checkout_init хук-событие . WC 1.0
woocommerce_checkout_init action is ran once when the class is first constructed.
Использование
add_action( 'woocommerce_checkout_init', 'action_function_name_9244' ); function action_function_name_9244( $self::$instance ){ // action... }
- $self::$instance
- -
Где вызывается хук
woocommerce_checkout_init
woocommerce/includes/class-wc-checkout.php 62
do_action( 'woocommerce_checkout_init', self::$instance );