Created
August 29, 2017 13:38
-
-
Save SeanTOSCD/9163050dba049dd16ec191e75bb6bdd8 to your computer and use it in GitHub Desktop.
EDD hide quantity field on purchase form only
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 // DO NOT COPY THIS LINE | |
function sd_remove_purchase_form_qty( $output ) { | |
$output = ''; | |
return $output; | |
} | |
add_filter( 'edd_purchase_form_quantity_input', 'sd_remove_purchase_form_qty' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment