if (isset($_GET[’test_pdf’])) {
require_once ABSPATH . 'wp-content/plugins/tcpdf/tcpdf.php’;
$pdf = new TCPDF(’P’, 'mm’, [57, 80], true, 'UTF-8′, false);
$pdf->SetMargins(2, 2, 2);
$pdf->AddPage();
$pdf->SetFont(’helvetica’, ”, 10);
$pdf->MultiCell(0, 5, „TEST PARAGON\nLinia 1\nLinia 2\nLinia 3”);
$pdf->Output(’test.pdf’, 'I’);
exit;
}