Changing Default component in profile menu from Dashboard to Course

Add following code in your Child theme – functions.php , Make sure the course component is loaded in your profile menu

add_filter('vibebp_vars',function($vars){
$vars['components']['default_component'] = 'course';
return $vars;
});

Was this article helpful?

Related Articles

Leave A Comment?