Browse: Home / Hooks /

learndash_purchase_invoice_pdf_username

apply_filters( 'learndash_purchase_invoice_pdf_username',  string $user_name,  int $user_id,  int $purchase_invoice_id )

Filters username of the user to be used in creating purchase_invoice PDF.


Description #


Parameters #

$user_name

(string) User display name.

$user_id

(int) User ID.

$purchase_invoice_id

(int) purchase_invoice post ID.


Source #

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


Changelog #

Changelog
Version Description
4.1.0 Introduced.