Skip to content

Instantly share code, notes, and snippets.

@SeanTOSCD
Created April 17, 2015 15:02
Show Gist options
  • Save SeanTOSCD/2185fa1a82aae377f36b to your computer and use it in GitHub Desktop.
Save SeanTOSCD/2185fa1a82aae377f36b to your computer and use it in GitHub Desktop.
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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment