Easy Digital Downloads: Add username to customer details

This code snippet for Easy Digital Downloads adds the customer’s username to the “Customer Details” section on the payment screen, and links it through to the user’s profile.

This code snippet for Easy Digital Downloads¬†adds the customer’s username to the “Customer Details” section on the payment screen, and links it through to the user’s profile. This is extremely useful when you need to quickly look up the user’s details associated with the payment, without having to search for the user from WordPress’ Users¬†page.

24076-username-link

Copy and paste the following into your child theme’s functions.php (mind the opening PHP tag) or a custom plugin:

2 thoughts on “Easy Digital Downloads: Add username to customer details”

Leave a Reply

Your email address will not be published. Required fields are marked *