Browse: Home / Functions /

learndash_purchase_invoice_filename

learndash_purchase_invoice_filename( int $user_id,  int $post_id )

Generates file name for purchase invoice PDF


Description #


Parameters #

$user_id

(int) (Required) User ID.

$post_id

(int) (Required) Post ID.


Return #

(string|false) $filename False if user or post invalid, otherwise file name of the purchase invoice PDF


Source #

File: includes/payments/ld-purchase-invoice-functions.php


Changelog #

Changelog
Version Description
4.1.0 Introduced.