" . esc_html__(' Loan Calculator', 'loan-calculator-wp') . ""; if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['_wpnonce'])) { $nonce_POST = sanitize_text_field(wp_unslash($_POST['_wpnonce'])); if (!isset($nonce_POST) || !wp_verify_nonce($nonce_POST, 'update')) { wp_die(esc_attr('Nonce verification failed. Please try again.', 'loan-calculator-wp')); } } ?>
' class="regular-text" />
class="regular-text">
' class="regular-text" />
'ww_loan_option[calculator_popup_content]', 'textarea_rows' => '10', 'tinymce' => true, 'media_buttons' => false, 'wpautop' => false, ); wp_editor($calculator_popup_content, 'ww_loan_option_calculator_popup_content', $settings); ?>
' class="regular-text">
>
' class="regular-text">
$val_currencies) { $currency_symbol = ww_loan_get_currency_symbol($key_currencies); if (!empty($currency_symbol)) { $currency_symbol = " ( " . $currency_symbol . " )"; } ?>
>
__('Monthly', 'loan-calculator-wp'), 'Yearly' => __('Yearly', 'loan-calculator-wp'), 'Quarterly' => __('Quarterly', 'loan-calculator-wp'), 'Fortnight' => __('Fortnightly', 'loan-calculator-wp'), 'Weekly' => __('Weekly', 'loan-calculator-wp'), ]; // Get saved selected repayment frequencies in order $saved_selection = $get_repayment_frequency ?? []; // e.g. ['Yearly', 'Monthly'] // Ensure default if nothing selected if (empty($saved_selection)) { $saved_selection = ['Monthly']; } $selected_items = array_values(array_filter($saved_selection, function ($key) use ($saved_selection) { return in_array($key, $saved_selection); })); // Get unselected options $default_order = array_keys($frequencies); $unselected_items = array_diff($default_order, $selected_items); ?>
= esc_html($frequencies[$key]); ?>
⋮⋮
= esc_html($frequencies[$key]); ?>
$font_style) { ?>
>
$chart_value) { ?>
>
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
' class="regular-text">
>
>
>
>
' class="regular-text">
>
' class="regular-text">
>
' class="regular-text">
>
' class="regular-text">
>
' class="regular-text">
>
' class="regular-text">
:
(*)
*
' class="regular-text" onkeydown="return onlyNos(event,'loan_amount')">
*
' class="regular-text" onkeydown="return onlyNos(event,'loan_amount_min_value')">
*
' class="regular-text" onkeydown="return onlyNos(event,'loan_amount_max_value')">
>
>
>
>
>
>
>
' class="regular-text" onkeydown="return onlyNos(event,'ballon_per')" step="any" placeholder="Enter ballon percentage between 1 to 80 (only number)">
>
>
>
>
>
>
>
*
' maxlength="5" class="regular-text" onkeydown="return onlyNos(event,'interested_rate')">
*
' class="regular-text" onkeydown="return onlyNos(event,'interest_rate_min_value')">
*
' class="regular-text" onkeydown="return onlyNos(event,'interest_rate_max_value')">
>
' class="regular-text" onkeydown="return onlyNos(event,'application_fee')">
' class="regular-text" onkeydown="return onlyNos(event,'monthly_rate')">
>
>
class="regular-text">
>
class="regular-text choose_default_payment_mode">
class="regular-text choose_default_payment_mode">
class="regular-text">
class="regular-text">
class="regular-text">
class="regular-text">
class="regular-text">
class="regular-text">
>
class="regular-text">
>
' class="regular-text">
class="regular-text" onclick="return hideshow_loan_table_field();">
>
' class="regular-text">
class="regular-text">
>
' class="regular-text">
>
' class="regular-text">
Note
: Enter youtube embed url e.g. https://www.youtube.com/embed/VhvlcwYUyIg?si=6ZQebyFT9_HwIrFo.
>
' class="regular-text">
class="contact-type-btn" />
class="contact-type-btn" />
" id="contact-popup-section">
" id="contact-url-section">
>
' class="regular-text">
'ww_loan_option[calculator_disclaimer_description]', 'textarea_rows' => '10', 'tinymce' => true, 'media_buttons' => false, 'wpautop' => false, ); wp_editor($calculator_disclaimer_description, 'calculator_disclaimer_description', $settings); ?>
:
(*)
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text" >
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
*
' class="regular-text">
class='calculation-fee-display-section'>
class='calculation-fee-display-section'>
*
' maxlength="50" class="regular-text">
class='calculation-fee-display-section'>
*
' maxlength="50" class="regular-text">
class='calculation-fee-display-section'>
*
' maxlength="50" class="regular-text">
class='calculation-fee-display-section'>
*
' maxlength="50" class="regular-text">
' maxlength="50" class="regular-text">
' maxlength="50" class="regular-text">
' maxlength="50" class="regular-text">
' maxlength="50" class="regular-text">
' maxlength="50" class="regular-text">
class="regular-text">
class="regular-text">
class="regular-text">
class="regular-text">