Automattic\WooCommerce\StoreApi

Legacy::init()publicWC 1.0

Hook into WP lifecycle events.

Method of the class: Legacy{}

No Hooks.

Return

null. Nothing (null).

Usage

$Legacy = new Legacy();
$Legacy->init();

Legacy::init() code WC 8.6.1

public function init() {
	add_action( 'woocommerce_rest_checkout_process_payment_with_context', array( $this, 'process_legacy_payment' ), 999, 2 );
}