# Paid Memberships Pro: Send Members From the Levels Page to Their Account

> Redirects members who already have a level away from the levels page to their membership account page, unless they came to change their level.

- Type: PHP
- Runs: Frontend cl
- Category: [Memberships](https://wpide.com/library/category/memberships/)
- Tags: pmpro, redirect, account
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/pmpro-members-skip-levels-page/

## Code

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

add_action( 'template_redirect', function () {
    global $pmpro_pages;

    if ( empty( $pmpro_pages['levels'] ) || ! is_page( (int) $pmpro_pages['levels'] ) || isset( $_GET['change'] ) ) {
        return;
    }

    if ( is_user_logged_in() && pmpro_hasMembershipLevel() ) {
        wp_safe_redirect( pmpro_url( 'account' ) );
        exit;
    }
} );
```

## Notes

Add ?change=1 to links where members should be able to pick a new level.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Paid Memberships Pro: Send Members From the Levels Page to Their Account" 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/
