Created
April 17, 2015 15:02
-
-
Save SeanTOSCD/2185fa1a82aae377f36b to your computer and use it in GitHub Desktop.
EDD filter purchase form submit button
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 // DON'T COPY | |
function sd_purchase_button_class( $input ) { | |
$input = str_replace( 'class="edd-submit', 'class="edd-submit new-class', $input ); | |
return $input; | |
} | |
add_filter( 'edd_checkout_button_purchase', 'sd_purchase_button_class' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment