Skip to content

Instantly share code, notes, and snippets.

@kreamweb
Created January 28, 2016 08:54
Show Gist options
  • Save kreamweb/3962bdbe4c12efe0b648 to your computer and use it in GitHub Desktop.
Save kreamweb/3962bdbe4c12efe0b648 to your computer and use it in GitHub Desktop.
Keep list in YITH WooCommerce Request a Quote after sent the request
<?php
if( defined( 'YITH_YWRAQ_PREMIUM' ) ){
add_filter( 'ywraq_clear_list_after_send_quote', 'ywraq_clear_list_after_send_quote', 10, 2);
function ywraq_clear_list_after_send_quote( $clear, $raq ){
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment