Automattic\WooCommerce\StoreApi
Legacy::init()
Hook into WP lifecycle events.
Method of the class: Legacy{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Legacy = new Legacy(); $Legacy->init();
Legacy::init() Legacy::init code WC 9.4.2
public function init() { add_action( 'woocommerce_rest_checkout_process_payment_with_context', array( $this, 'process_legacy_payment' ), 999, 2 ); }