Hi. How can we help?

How to change pdf filename

You can use the filter 'ywraq_pdf_file_name' to change the pdf filename, put this code in your functions.php


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, $order_id ){
return 'custom_name_'.$order_id.'.pdf';


Was this article helpful?
1 out of 1 found this helpful

Back to Help Center >

Powered by Zendesk