WC_Admin_Dashboard_Setup::__construct()publicWC 1.0

WC_Admin_Dashboard_Setup constructor.

{} It's a method of the class: WC_Admin_Dashboard_Setup{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Dashboard_Setup = new WC_Admin_Dashboard_Setup();
$WC_Admin_Dashboard_Setup->__construct();

Code of WC_Admin_Dashboard_Setup::__construct() WC 6.7.0

public function __construct() {
	if ( $this->should_display_widget() ) {
		add_meta_box(
			'wc_admin_dashboard_setup',
			__( 'WooCommerce Setup', 'woocommerce' ),
			array( $this, 'render' ),
			'dashboard',
			'normal',
			'high'
		);
	}
}