Skip to content

Instantly share code, notes, and snippets.

@dancameron
Created June 15, 2017 23:55
Show Gist options
  • Save dancameron/25bb289f00eb9a2a338cc1d9707f23fb to your computer and use it in GitHub Desktop.
Save dancameron/25bb289f00eb9a2a338cc1d9707f23fb to your computer and use it in GitHub Desktop.
Disable Invoice Generation when Estimate is Accepted
<?php // don't include this in your functions.php, since the start of the file should already have it
add_filter( 'si_disable_create_invoice_on_est_acceptance', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment