Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_filter( 'gform_field_value_default_quantity', 'endo_set_default_quantity' );
function endo_set_default_quantity() {
return 1; // change this number to whatever you want the default quantity to be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment