Skip to content

Instantly share code, notes, and snippets.

@kreamweb kreamweb/functions.php
Last active Aug 3, 2016

What would you like to do?
change the name 'quote_xx.pdf' in yith woocommerce request a quote premium
if( function_exists('YITH_Request_Quote_Premium') ){
add_filter('ywraq_pdf_file_name','ywraq_pdf_file_name', 10, 2);
function ywraq_pdf_file_name( $filename, $quote_id ){
return 'custom_name_'.$quote_id.'.pdf';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.