Browse: Home / Hooks /


apply_filters( "learndash_addon_tab_items_{$this->current_tab}",  array $tab_items )

Filters add-on items for a tab.

Description #

The dynamic part of the hook refers to the name of the current tab.

Parameters #


(array) An array of tab list items.

Source #

File: includes/admin/class-learndash-admin-addons-list-table.php

Examples #

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

 * Example usage for learndash_addon_tab_items_{$this->current_tab} filter.
	function( $tab_items ) {
		// May add any custom logic using $tab_items.

		// Always return $tab_items.
		return $tab_items;

Changelog #

Version Description
2.5.5 Introduced.