# User meta

In file Shortcodes.php, add your user meta shortcode list

![](https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FrCqA05lcgmO7SukaZ8aL%2Fimage.png?alt=media\&token=f082b6f4-b9fe-4759-89f2-579d550ecdf0)

In the collectOrderData function add this code along with the shortcode name added above

Add this code like below\
$shortcode\['\[yaymail\_user\_meta\_fpso]'] = get\_user\_meta( $user\_data->ID, 'fpso', true);\
\- 1 : is the meta key of the user meta &#x20;

![](https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FigyGl8ikHq9S3hwfgWeR%2Fimage.png?alt=media\&token=3ee3a04a-4b35-4bcd-8d42-9fa66c96cb91)
