Change the URL you want to redirect to when a visitor without a PMPro membership visits the Membership Account page, or disable the redirect completely by passing
0. By default, this returns the Membership Levels page and accepts a URL.
apply_filters( 'pmpro_account_preheader_redirect', string $pmpro_levels_page_url );
- string; the URL to redirect to.