Book Appointment Now
Setup Indian Currency in WP Forms
/**
* Add a new currency symbol - Rupee
*
* @link https://wpforms.com/developers/how-to-create-a-new-currency-symbol-for-wpforms/
*/
function wp_add_currencies( $currencies ) {
$currencies[ 'INR' ] = array(
'name' => esc_html__( 'Rupee', 'wpforms' ),
'symbol' => '₹',
'symbol_pos' => 'left', // LEFT
'thousands_separator' => '.',
'decimal_separator' => ',',
'decimals' => 2,
);
return $currencies;
}
add_filter( 'wpforms_currencies', 'wp_add_currencies', 10, 1 );