PDF generation for Wordpress based on Tcpdf library