IKnowledgeBase

IKnowledgeBase

Filter tabs on Home Page


To custom filter the tabs on Home Page, you can use filter hook ‘iknowledgebase_home_panel_tabs’.

 

For Example:

Code:


function iknowledgebas_home_panel_tabs_filter($tabs) {
	$tabs = array(
		'subcats'       => esc_attr__( 'Subcategories', 'iknowledgebase' ),
	);
	return $tabs;
}

add_filter('iknowledgebase_home_panel_tabs', 'iknowledgebas_home_panel_tabs_filter');