Revert to version 191008b
This commit is contained in:
parent
3ce5b7ce28
commit
85b5383b22
@ -137,12 +137,9 @@ function matthew_lms_mvp_render_header(): string {
|
||||
$links = [
|
||||
'Home' => matthew_lms_mvp_public_url(),
|
||||
'WAX Coach' => matthew_lms_mvp_public_url('career-coach/'),
|
||||
'Profile' => matthew_lms_mvp_member_access_url('platform/'),
|
||||
'Course' => matthew_lms_mvp_member_access_url('platform/course/'),
|
||||
];
|
||||
|
||||
if (is_user_logged_in()) {
|
||||
$links['Profile'] = matthew_lms_mvp_public_url('platform/');
|
||||
$links['Course'] = matthew_lms_mvp_public_url('platform/course/');
|
||||
}
|
||||
$login_url = add_query_arg('redirect_to', rawurlencode(matthew_lms_mvp_public_url('platform/')), matthew_lms_mvp_public_url('log-in/'));
|
||||
ob_start();
|
||||
?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user