click the "Complete Payment" button to finish your order.', 'paid-memberships-pro' ), array( 'strong' => array() ) ); ?>

1) { ?>">

' . esc_html( $pmpro_level->name ) . '' ); // If a level will be removed with this purchase, let them know that too. // First off, get the group for this level and check if it allows a user to have multiple levels. $group_id = pmpro_get_group_id_for_level( $pmpro_level->id ); $group = pmpro_get_level_group( $group_id ); if ( ! empty( $group ) && empty( $group->allow_multiple_selections ) ) { // Get all of the user's current membership levels. $levels = pmpro_getMembershipLevelsForUser( $current_user->ID ); // Loop through the levels and see if any are in the same group as the level being purchased. if ( ! empty( $levels ) ) { foreach ( $levels as $level ) { // If this is the level that the user is purchasing, continue. if ( $level->id == $pmpro_level->id ) { continue; } // If this level is not in the same group, continue. if ( pmpro_get_group_id_for_level( $level->id ) != $group_id ) { continue; } // If we made it this far, the user is going to lose this level after checkout. printf( ' ' . esc_html__( 'Your current membership level of %s will be removed when you complete your purchase.', 'paid-memberships-pro' ), '' . esc_html( $level->name ) . '' ); } } } ?>

description, $pmpro_level); if ( ! empty( $level_description ) ) { ?>
'; echo sprintf( esc_html__( 'The %s code has been applied to your order.', 'paid-memberships-pro' ), '' . esc_html( $discount_code ) . '' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '

'; ?>

:


ID && !$pmpro_review) { ?>
style="display: none;">

checked="checked" /> checked="checked" />
style="display: none;">

,
ID) { if(!$bemail && $current_user->user_email) { $bemail = $current_user->user_email; } if(!$bconfirmemail && $current_user->user_email) { $bconfirmemail = $current_user->user_email; } } ?>
style="display: none;">

/

post_title );?>

post_content ) ), $tospage ); echo $pmpro_tos_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>