Request a quote - How to add the Thai font

If you want to include in Request a Quote plugin Thai font , you cound use this code in the functions.php of your theme.

if ( defined( 'YITH_YWRAQ_PREMIUM' ) ) {
add_filter('pdf_font_family', 'pdf_font_family');
function pdf_font_family( $font ){
return '"thsarabun", '.$font;
}
}

In attached you can find the package with Thai fonts.

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

Back to Help Center

Powered by Zendesk