diff --git a/includes/restrictions.php b/includes/restrictions.php index 2d86624..5b87c2b 100644 --- a/includes/restrictions.php +++ b/includes/restrictions.php @@ -255,7 +255,7 @@ function pmpro_bp_buddypress_or_pmpro_registration() { if ( $page_setting === 'buddypress' && $on_pmpro_levels ) { // Use the BuddyPress Register page. $bp_pages = get_option( 'bp-pages' ); - if ( ! empty( $bp_pages['register'] ) ) { + if ( ! empty( $bp_pages['register'] ) && ! is_user_logged_in() ) { $url = get_permalink( $bp_pages['register'] ); } else { $url = '';