Last active
October 24, 2015 02:40
-
-
Save ericnicolaas/fa17e6c3619e338e224a to your computer and use it in GitHub Desktop.
Set the default colour used by Charitable in the Checkout theme by Array.
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
<?php | |
/** | |
* Set the default colour used by Charitable. | |
* | |
* @return string | |
*/ | |
function checkout_charitable_default_colour() { | |
return '#37BF91'; | |
} | |
add_filter( 'charitable_default_highlight_colour', 'checkout_charitable_default_colour' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment