Browse: Home / Classes / Learndash_Admin_Menus_Tabs /

Learndash_Admin_Menus_Tabs::add_admin_tab_item

Learndash_Admin_Menus_Tabs::add_admin_tab_item( string $menu_slug,  array $menu_item,  integer $menu_priority = 20 )

Add admin tab item


Description #


Parameters #

$menu_slug

(string) (Required) Menu slug.

$menu_item

(array) (Required) Menu item. See WP $submenu global.

$menu_priority

(integer) (Optional) Tab priority.

Default value: 20


Source #

File: includes/admin/class-learndash-admin-menus-tabs.php


Changelog #

Changelog
Version Description
2.4.0 Introduced.