WordPress at Your Fingertips
function is not described

WC_Admin_Menus::settings_menu() public WC 1.0

Add menu item.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Menus = new WC_Admin_Menus();
$WC_Admin_Menus->settings_menu();

Code of WC_Admin_Menus::settings_menu() WC 5.9.0

public function settings_menu() {
	$settings_page = add_submenu_page( 'woocommerce', __( 'WooCommerce settings', 'woocommerce' ), __( 'Settings', 'woocommerce' ), 'manage_woocommerce', 'wc-settings', array( $this, 'settings_page' ) );

	add_action( 'load-' . $settings_page, array( $this, 'settings_page_init' ) );
}