Skip to content

Instantly share code, notes, and snippets.

@digamber89
Created February 1, 2019 07:34
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 digamber89/2782c3042dd720b401d759798c7273a2 to your computer and use it in GitHub Desktop.
Save digamber89/2782c3042dd720b401d759798c7273a2 to your computer and use it in GitHub Desktop.
lock-prices.php
<?php
add_action( 'woocommerce_removed_coupon', 'cart_prices', 0 );
add_action( 'woocommerce_after_calculate_totals', 'cart_prices', 0 );
add_action( 'woocommerce_cart_loaded_from_session', 'cart_prices', 0 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment