WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard::admin_menus() public WC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Add admin menus/screens.

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

No Hooks.


null. Nothing.


$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard();


Deprecated 4.6.0

Code of WC_Admin_Setup_Wizard::admin_menus() WC 5.9.0

public function admin_menus() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	add_dashboard_page( '', '', 'manage_options', 'wc-setup', '' );