WC_Admin_Setup_Wizard::admin_menus()
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.
Method of the class: WC_Admin_Setup_Wizard{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard(); $WC_Admin_Setup_Wizard->admin_menus();
Changelog
Deprecated since | 4.6.0 |
WC_Admin_Setup_Wizard::admin_menus() WC Admin Setup Wizard::admin menus code WC 9.6.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', '' ); }