Skip to content

Commit

Permalink
Removing unused logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcoleman committed Jul 15, 2024
1 parent 8b90c7b commit e2c584f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions includes/checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,6 @@ function pmpropbc_pmpro_checkout_after_payment_information_fields() {
if( !empty($options) && $options['setting'] > 0 ) {
$instructions = get_option("pmpro_instructions");
$check_gateway_label = get_option( 'pmpro_check_gateway_label' );
if($gateway != 'check')
$hidden = 'style="display:none;"';
else
$hidden = '';
?>
<div class="<?php echo esc_attr( pmpro_get_element_class( 'pmpro_card pmpro_check_instructions', 'pmpro_check_instructions' ) ); ?>" <?php echo $gateway != 'check' ? 'style="display:none;"' : ''; ?>>
<h2 class="<?php echo esc_attr( pmpro_get_element_class( 'pmpro_card_title pmpro_font-large' ) ); ?>"><?php echo esc_html( sprintf( __( 'Pay by %s', 'pmpro-pay-by-check' ), $check_gateway_label ) ); ?></h2>
Expand Down

0 comments on commit e2c584f

Please sign in to comment.