Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created March 2, 2021 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plugin-republic/c3389c87c099de88f958f3e727e43238 to your computer and use it in GitHub Desktop.
Save plugin-republic/c3389c87c099de88f958f3e727e43238 to your computer and use it in GitHub Desktop.
<?php
function pewc_conditions_timer( $time ) {
return 500;
}
add_filter( 'pewc_conditions_timer', 'pewc_conditions_timer' );
function pewc_calculations_timer( $time ) {
return 500;
}
add_filter( 'pewc_calculations_timer', 'pewc_calculations_timer' );
@ZENwww
Copy link

ZENwww commented Mar 6, 2021

Doesn't work on the latest (3.8.7) version. Error:
Fatal error: Cannot redeclare pewc_conditions_timer() (previously declared in
/wp-content/plugins/product-extras-for-woocommerce/inc/functions-helpers.php:1276) in
/elementor-child/functions.php on line 27

@plugin-republic
Copy link
Author

You can remove the functions from your child theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment