Browse: Home / Functions /

learndash_purchase_invoice_filepath

learndash_purchase_invoice_filepath( int $post_id )

Generates file path for purchase invoice PDF


Description #


Parameters #

$post_id

(int) (Required) Post ID.


Return #

(string|false) $filepath False if post invalid, otherwise file path of the purchase invoice PDF


Source #

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


Changelog #

Changelog
Version Description
4.1.0 Introduced.