Automattic\WooCommerce\Internal\Admin
WcPayWelcomePage::register()
Register hooks.
Method of the class: WcPayWelcomePage{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WcPayWelcomePage = new WcPayWelcomePage(); $WcPayWelcomePage->register();
WcPayWelcomePage::register() WcPayWelcomePage::register code 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' ) ); }