Menu::add_plugin_category( array $args )
Adds a plugin category.
Description Description
Parameters Parameters
- $args
-
(Required) Array containing the necessary arguments. $args = array( 'id' => (string) The unique ID of the menu item. Required. 'title' => (string) Title of the menu item. Required. 'url' => (string) URL or callback to be used. Required. 'migrate' => (bool) Whether or not to hide the item in the wp admin menu. 'order' => (int) Menu item order. ).
Source Source
File: packages/woocommerce-admin/src/Features/Navigation/Menu.php