Automattic\WooCommerce\Internal\Admin
WcPayWelcomePage::__construct()
WCPayWelcomePage constructor.
Method of the class: WcPayWelcomePage{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WcPayWelcomePage = new WcPayWelcomePage(); $WcPayWelcomePage->__construct();
WcPayWelcomePage::__construct() WcPayWelcomePage:: construct code WC 8.7.0
public function __construct() { add_action( 'admin_menu', [ $this, 'register_payments_welcome_page' ] ); add_filter( 'woocommerce_admin_shared_settings', [ $this, 'shared_settings' ] ); add_filter( 'woocommerce_admin_allowed_promo_notes', [ $this, 'allowed_promo_notes' ] ); add_filter( 'woocommerce_admin_woopayments_onboarding_task_badge', [ $this, 'onboarding_task_badge' ] ); }