Created
June 15, 2018 17:05
-
-
Save dancameron/fe5a1050a29c62e2ab27b818b8cecefd to your computer and use it in GitHub Desktop.
Don't show payment terms with a zero balance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.