WC_Admin_Menus::settings_menu()
Add menu item.
Contents
Description Description
Source Source
File: includes/admin/class-wc-admin-menus.php
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' ) ); }