Automattic\WooCommerce\StoreApi

Legacy::initpublicWC 1.0

Hook into WP lifecycle events.

Method of the class: Legacy{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Legacy::init() code WC 9.8.5

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