Closed Dinamiko closed 7 years ago
$title = apply_filters( 'dkpdf_pdf_filename', get_the_title( $post->ID ) ); $mpdf->SetTitle($title); $mpdf->SetAuthor(get_bloginfo( 'name' ));
create filters: dkpdf_set_pdf_title https://mpdf.github.io/reference/mpdf-functions/settitle.html
dkpdf_set_pdf_author https://mpdf.github.io/reference/mpdf-functions/setauthor.html
added new filter: dkpdf_pdf_author
create filters: dkpdf_set_pdf_title https://mpdf.github.io/reference/mpdf-functions/settitle.html
dkpdf_set_pdf_author https://mpdf.github.io/reference/mpdf-functions/setauthor.html