Remove a section from Course menu

Add below code in Child theme functions.php or WPLMS Customizer – wplms_customizer.php file :

In above :

unset($defaults[‘members’]); removes the members section

unset($defaults[‘curriculum’]); removes the curriculum section

unset($defaults[‘events’]); removes the events section

unset($defaults[‘news’]); removes the news section

unset($defaults[‘groups’]); removes the groups section

unset($defaults[‘forums’]); removes the forums section

Was this article helpful?

Related Articles