Skip to content

Instantly share code, notes, and snippets.

@dancameron
Created June 15, 2018 17:05
Show Gist options
  • Save dancameron/fe5a1050a29c62e2ab27b818b8cecefd to your computer and use it in GitHub Desktop.
Save dancameron/fe5a1050a29c62e2ab27b818b8cecefd to your computer and use it in GitHub Desktop.
Don't show payment terms with a zero balance
<?php // don't include this line in your functions.php, since it already starts with it.
/**
* Don't show fees that are 0.00
**/
add_filter( 'si_show_all_payment_terms', '__return_false' );
@dancameron
Copy link
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