Hi. How can we help?

Avoid PDF quote view cache

If after changed some element in the Order Request and updated the order, you create again the PDF and then View it and no changes have been applied, add this code to your child theme functions.php file (at the end of the file)

add_filter('ywraq_pdf_file_url','ywraq_avoid_pdf_cache');
function ywraq_avoid_pdf_cache ( $fileurl ) {
return $fileurl . '?' . rand();
}
Was this article helpful?
0 out of 0 found this helpful

Back to Help Center >