Closed elhaddajiOtmane closed 10 months ago
Hi!
I have adding your code like this:
if (isset($meta_values['pdf-name']) && is_string($meta_values['pdf-name'])) { $singleNamePDF = esc_html(sanitize_title($meta_values['pdf-name'])); } else { // Handle the error or set a default value $singleNamePDF = 'document-pdf'; }
Thanks
thank u i want to ask please if there is a way to send html in the pdf i want to send html list
i want to send make it like this
Bonjour,
De façon dynamique ou juste une liste en dur ?
Vous pouvez utiliser n'importe quelle balise HTML pour construire votre PDF.
Cordialement
@restezconnectes merci, j'ai utilisé un plugin appelé cf7-conditional-fields pour faire ça
this is my logfile ```
1 {main}
thrown in /var/www/vhosts/mytraitement.com/httpdocs/wp-content/plugins/send-pdf-for-contact-form-7-/classes/send-pdf.php on line 1202 [20-Nov-2023 09:09:51 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/mytraitement.com/httpdocs/wp-content/plugins/send-pdf-for-contact-form-7-/classes/send-pdf.php:1202