Created
November 4, 2019 16:07
-
-
Save dancameron/d91c0be554bbae973b1e6dbdef824726 to your computer and use it in GitHub Desktop.
Change Default Estimate Expiration Date
This file contains hidden or 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. | |
| function _change_si_default_expiration_for_estimates( $days = 30 ) { | |
| return 120; // change to the number of days for new expiration | |
| } | |
| add_filter( 'si_default_expiration_in_days', '_change_si_default_expiration_for_estimates' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment