Documentation

Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful_admin_tabs

helpful_admin_tabs

With this you can put your own admin tabs into the settings of Helpful. So you can customize and extend the admin interface of Helpful.

/**
 * Here you can add your own tabs to Helpful, which will then 
 * be shown in the admin area. However, you will need to create
 * your own page for this.
 *
 * @param array $tabs default tabs.
 * @param array
 */
function custom_function( $tabs ) {

	$tabs['my_tab'] = [
		'href' => 'link to admin page',
		'name' => 'tab name',
	];

	return $tabs;
}

add_filter( 'helpful_admin_tabs', 'custom_function' );

Was this post helpful?