Browse: Home / Hooks /


apply_filters( 'learndash_admin_tab_sets',  array $admin_tab_sets,  string $menu_tab_key,  string $current_page_id )

Filters current admin tab set.

Description #

Parameters #


(array) An array of admin tab sets data.


(string) The menu tab key.


(string) The current page id.

Source #

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

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_admin_tab_sets filter.
	function( $admin_tab_sets ) {
		// May add any custom logic using $admin_tab_sets.

		// Always return $admin_tab_sets.
		return $admin_tab_sets;

Changelog #

Version Description
2.5.0 Introduced.