| @@ 376-380 (lines=5) @@ | ||
| 373 | esc_html_e( 'n/a', 'give' ); |
|
| 374 | } else { |
|
| 375 | $prices_atts = ''; |
|
| 376 | if( $variable_prices = give_get_variable_prices( $payment_meta['form_id'] ) ) { |
|
| 377 | foreach ( $variable_prices as $variable_price ) { |
|
| 378 | $prices_atts[$variable_price['_give_id']['level_id']] = give_format_amount( $variable_price['_give_amount'], array( 'sanitize' => false ) ); |
|
| 379 | } |
|
| 380 | } |
|
| 381 | // Variable price dropdown options. |
|
| 382 | $variable_price_dropdown_option = array( |
|
| 383 | 'id' => $payment_meta['form_id'], |
|
| @@ 474-478 (lines=5) @@ | ||
| 471 | esc_html_e( 'n/a', 'give' ); |
|
| 472 | } else { |
|
| 473 | $prices_atts = ''; |
|
| 474 | if ( $variable_prices = give_get_variable_prices( $form_id ) ) { |
|
| 475 | foreach ( $variable_prices as $variable_price ) { |
|
| 476 | $prices_atts[ $variable_price['_give_id']['level_id'] ] = give_format_amount( $variable_price['_give_amount'], array( 'sanitize' => false ) ); |
|
| 477 | } |
|
| 478 | } |
|
| 479 | ||
| 480 | // Variable price dropdown options. |
|
| 481 | $variable_price_dropdown_option = array( |
|