Title: Pulling gift code
Last modified: February 14, 2023

---

# Pulling gift code

 *  Resolved [ssslippy](https://wordpress.org/support/users/ssslippy/)
 * (@ssslippy)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pulling-gift-code/)
 * We use multiple custom reporting tools so swapping the pro reports wont help 
   me. I see all the to from etc is all stored as meta data but I am not seeing 
   the gift card code being stored the same. How can I grab this data if its not
   stored the same as the rest?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP Swings](https://wordpress.org/support/users/wpswings/)
 * (@wpswings)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pulling-gift-code/#post-16472129)
 * Hello,
 * Thanks for using our plugin,
 * Currently gift card coupon code data save in the below database
   get_post_meta(
   $order_id, ‘$order_id#item_id’, true );
 * ex – get_post_meta( ‘217’, ‘217#93’, true );
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘Pulling gift code’ is closed to new replies.

 * ![](https://ps.w.org/woo-gift-cards-lite/assets/icon-128x128.gif?rev=2903101)
 * [Ultimate Gift Cards for WooCommerce](https://wordpress.org/plugins/woo-gift-cards-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-gift-cards-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-gift-cards-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-gift-cards-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-gift-cards-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-gift-cards-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP Swings](https://wordpress.org/support/users/wpswings/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/pulling-gift-code/#post-16472129)
 * Status: resolved