# LifterLMS: Remove Student Dashboard Tabs You Don't Use

> Hides tabs such as Redeem a Voucher, Notifications or Achievements from the LifterLMS student dashboard to keep it simple.

- Type: PHP
- Runs: Run everywhere
- Category: [Courses & Community](https://wpide.com/library/category/learning/)
- Tags: lifterlms, dashboard, account
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/lifterlms-remove-dashboard-tabs/

## Code

```php
if ( ! function_exists( 'llms_get_student' ) ) {
    return;
}

// Tabs to remove.
$wpide_llms_hidden_tabs = array( 'redeem-voucher', 'notifications' );

add_filter( 'llms_get_student_dashboard_tabs', function ( $tabs ) use ( $wpide_llms_hidden_tabs ) {
    foreach ( $wpide_llms_hidden_tabs as $tab ) {
        unset( $tabs[ $tab ] );
    }

    return $tabs;
} );
```

## Notes

Tab IDs include dashboard, view-courses, view-memberships, view-achievements, view-certificates, notifications, edit-account, redeem-voucher and orders.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "LifterLMS: Remove Student Dashboard Tabs You Don't Use" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
