Skip to content

Instantly share code, notes, and snippets.

@dancameron
Created October 24, 2019 21:48
Show Gist options
  • Select an option

  • Save dancameron/5961bfcf910cdfe228874a496f702406 to your computer and use it in GitHub Desktop.

Select an option

Save dancameron/5961bfcf910cdfe228874a496f702406 to your computer and use it in GitHub Desktop.
Use Different Status to Mark Payment Complete
<?php // don't include this line in your functions.php, since it already starts with it.
function _use_processing_payment_status( $status = '' ) {
return 'processing';
}
add_filter( 'si_woo_payment_status_for_completion', '_use_processing_payment_status' );
@dancameron

Copy link
Copy Markdown
Author

This snippet is a customization for Sprout Invoices. A customizable solution that provides a way for you to get paid via your WordPress site. For more information please don't hesitate to reach out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment