Change the URL you want to redirect to when a visitor without a WordPress user account 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_no_user_redirect", pmpro_url("levels")); |
Parameters
-
string (pmpro_url(“levels”))
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/account.php
View in Source Code