learndash_send_purchase_invoice_email learndash_send_purchase_invoice_email( int $user_id, int $post_id ) Send the course/group purchase invoice email ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Description # Parameters # $user_id (int) (Required) User ID. $post_id (int) (Required) Course/Group post ID. Return # (string) $pdf_data['filename'] File name of generated PDF Source # File: includes/payments/ld-emails-functions.php Changelog # Changelog Version Description 4.1.0 Introduced. Related # Namespace # global @package # LearnDash Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_purchase_invoice_filename () Generates file name for purchase invoice PDF includes/ld-misc-functions.php: learndash_purchase_invoice_filepath () Generates file path for purchase invoice PDF includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf () Converts purchase invoice content to PDF. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_placeholders Filters purchase email placeholders. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_subject Filters purchase invoice email subject. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_message Filters purchase invoice email message. includes/payments/ld-emails-functions.php: learndash_emails_parse_placeholders () Parses the email subject and message to replace email placeholders includes/payments/ld-emails-functions.php: learndash_emails_send () Defines the From: email sent in the email notification includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()
Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_purchase_invoice_filename () Generates file name for purchase invoice PDF includes/ld-misc-functions.php: learndash_purchase_invoice_filepath () Generates file path for purchase invoice PDF includes/ld-convert-post-pdf.php: learndash_purchase_invoice_pdf () Converts purchase invoice content to PDF. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_placeholders Filters purchase email placeholders. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_subject Filters purchase invoice email subject. includes/payments/ld-emails-functions.php: learndash_purchase_invoice_email_message Filters purchase invoice email message. includes/payments/ld-emails-functions.php: learndash_emails_parse_placeholders () Parses the email subject and message to replace email placeholders includes/payments/ld-emails-functions.php: learndash_emails_send () Defines the From: email sent in the email notification includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()