Skip to content

Instantly share code, notes, and snippets.

@mannieschumpert
Created February 28, 2014 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mannieschumpert/9277517 to your computer and use it in GitHub Desktop.
Save mannieschumpert/9277517 to your computer and use it in GitHub Desktop.
If running the new Gravity Forms add-on for Easy Digital Downloads, and don't have a gateway hooked up yet, you can drop this in to return all submissions successful while testing.
<?php
add_filter('edd_gf_default_status','return_all_complete');
function return_all_complete(){
return 'publish';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment