Skip to content

Instantly share code, notes, and snippets.

@dancameron
Created November 4, 2019 16:07
Show Gist options
  • Save dancameron/d91c0be554bbae973b1e6dbdef824726 to your computer and use it in GitHub Desktop.
Save dancameron/d91c0be554bbae973b1e6dbdef824726 to your computer and use it in GitHub Desktop.
Change Default Estimate Expiration Date
<?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