Automattic\WooCommerce\Internal\Admin\Settings

PaymentsController::registerpublicWC 1.0

Register hooks.

Method of the class: PaymentsController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PaymentsController = new PaymentsController();
$PaymentsController->register();

PaymentsController::register() code WC 9.8.5

public function register() {
	// Because we gate the hooking based on a feature flag,
	// we need to delay the registration until the 'woocommerce_init' hook.
	// Otherwise, we end up in an infinite loop.
	add_action( 'woocommerce_init', array( $this, 'delayed_register' ) );
}