Skip to content

Instantly share code, notes, and snippets.

@SeanTOSCD
SeanTOSCD / gist:2185fa1a82aae377f36b
Created April 17, 2015 15:02
EDD filter purchase form submit button
<?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' );