shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Change ‘LearnDash LMS’ text in the Instructor Dashboard Menu

A lot of users have asked us how can they rename the ‘LearnDash LMS’ text from the instructor dashboard to insert their own branding to the menu.

You can easily replace the text by adding the below code in either of the two options:

<?php
/**
* Change dashboard label for Learndash LMS menu.
*/
function irUpdateLearndashLabel()
{
	global $menu;

	foreach ($menu as $key => $menu_item ) {
		// Compare menu item slug with learndash slug
		if ('learndash-lms' === $menu_item[2]) {
			// Update label to whatever required.
			$menu[$key][0] = 'LearnDash';
		}
	}
}
add_action('admin_menu', 'irUpdateLearndashLabel');
?>

You can add the text that you want instead of ‘Learndash LMS’ in this line of the above code.

$menu[$key][0] = 'LearnDash';
Updated on May 7, 2020
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Was this article helpful?

shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Related Articles