Duplicate Snippet
Embed Snippet on Your Site
MemberPress: Display Custom Field Value Instead of Customer Name in PDF invoice
This code snippet automatically adds the custom field value or the customer's full name at the beginning of the "Bill To" section in the PDF invoice. If the custom field value is empty, it displays the customer's full name.
The “mepr_company_name” slug will need to be replaced with your custom field slug.
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments