If you are looking to insert custom user data stored in a user’s WP Profile into LearnDash Certificates (such as Company Name, Student/Staff ID, Membership Number, etc.) then this plugin will help you to accomplish that task!
You can grab any custom field from the User Profile and turn it into a shortcode which can be used in a certificate or WP post/page. Using this plugin alongside the free Woocommerce addon ‘Flexible Checkout Fields for WooCommerce‘, you could for example include custom fields for your users to complete during checkout which can then printed onto their LearnDash certificate once they have completed their course!
Once installed just follow the instructions below, a video detailing these steps is currently in production.
The quickest way to find this out (in Chrome/Firefox) is to right click on the Bold text label on the left hand side of the profile screen and choose ‘Inspect’ or ‘Inspect Element’, you should now see the HTML code that generates this label, make a note of the value written in the <label for=”COPY THIS VALUE”> tag.
[user_meta key=PASTE VALUE HERE]
Here is an example of what your shortcode may look like using Flexible Checkout Fields:
[user_meta key=billing_association_id_345] (FCF always seems to generate a random number towards the end of the LABEL FOR value but thankfully this is the same for every user.)