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 #
Changelog #
Version | Description |
---|---|
4.1.0 | Introduced. |
Related #
Namespace #
@package #
Uses #
Uses | Description |
---|---|
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_content_write_cell_after |
Fires after the purchase_invoice content is added to the PDF. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_username |
Filters username of the user to be used in creating purchase_invoice PDF. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_query_string_params_allowed |
Filter for allowed PDF purchase_invoice parameters. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_styles |
Filters whether to include purchase_invoice CSS styles in purchase_invoice content or not. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_content |
Filters purchase_invoice content after all processing. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_params |
Filters purchase_invoice tcpdf paramaters. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_created |
Fires after creating purchase_invoice |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_creator |
Filters the value of pdf creator. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_author |
Filters the name of the pdf author. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_title |
Filters the title of the pdf. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_subject |
Filters the subject of the pdf. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf_keywords |
Filters the pdf keywords. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_after |
Fires after setting purchase_invoice pdf data. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_thumbnail_processing_start |
Fires when thumbnail image processing starts. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_thumbnail_before |
Fires before the thumbnail image is added to the PDF. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_thumbnail_after |
Fires after the thumbnail image is added to the PDF. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_thumbnail_processing_end |
Fires when thumbnail image processing starts. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_content_write_cell_before |
Fires before the purchase_invoice content is added to the PDF. |
includes/ld-convert-post-pdf.php: learndash_purchase_invoice_content_write_cell_args |
Filters the parameters passed to the TCPDF writeHTMLCell() function. |
includes/ld-convert-post-pdf.php: learndash_tcpdf_legacy_ld322 |
Start purchase_invoice post content processing. |
includes/ld-convert-post-pdf.php: learndash_get_thumb_path () |
Gets featured image of certificate post. |
includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () |
Static function to get a Section Setting value. |
Used By #
Used By | Description |
---|---|
includes/payments/ld-emails-functions.php: learndash_send_purchase_invoice_email () |
Send the course/group purchase invoice email |