Skip to content

Instantly share code, notes, and snippets.

Last active November 12, 2021 23:28
What would you like to do?
// Copy everything below this line
add_filter( 'gform_field_value_default_quantity', 'gr_default_qty' );
function gr_default_qty() {
return 0; // change this number to your desired default quantity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment