Created
May 30, 2014 13:41
-
-
Save corsonr/da403299fc991c49dad9 to your computer and use it in GitHub Desktop.
WPdonations: edit available donations amounts
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( 'donation_available_amounts', 'my_custom_amounts' ); | |
function my_custom_amounts() { | |
$options = array( | |
'5' => '5', | |
'10' => '10', | |
'20' => '20', | |
'30' => '30', | |
'40' => '40', | |
'50' => '50' | |
); | |
return $options; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment