Browse: Home / Functions /

learndash_purchase_invoice_pdf

learndash_purchase_invoice_pdf( array $pdf_content = array() )

Converts purchase invoice content to PDF.


Description #


Parameters #

$pdf_content

(array) (Optional) Array of data for generating the PDF template.

Default value: array()


Return #

(boolean) $pdf_generated Returns true if PDF exists


Source #

File: includes/ld-convert-post-pdf.php


Changelog #

Changelog
Version Description
4.1.0 Introduced.