Automattic\WooCommerce\Internal\Admin

WcPayWelcomePage::register()publicWC 1.0

Register hooks.

Метод класса: WcPayWelcomePage{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код WcPayWelcomePage::register() WC 9.6.0

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' ) );
}