Last active
October 31, 2017 17:58
-
-
Save New0/98b57d997d739955ffe697a3a07d1684 to your computer and use it in GitHub Desktop.
Add a Currency symbol before the donation input field in Direct Stripe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'direct_stripe_donation_input', function( $input ){ | |
$symbol = '<span style="font-size: 1.2em;">$ </span>'; // Edit the symbol to suit your currency | |
$input = $symbol . $input; | |
return $input; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment