Title: currency hook
Last modified: January 9, 2023

---

# currency hook

 *  Resolved [malim92](https://wordpress.org/support/users/malim92/)
 * (@malim92)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/)
 * hi
 * im trying to develop custom woocommerce payment gateway that accepts multiple
   currencies, so im trying to integrate your plugin with the gateway
 * does the plugin have a hook i can use to check which currency the user chose ?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [alina98](https://wordpress.org/support/users/alina98/)
 * (@alina98)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/#post-16355166)
 * Hi [@malim92](https://wordpress.org/support/users/malim92/) ,
   Thanks for writing
   to us today!Please note that YayCurrency allows you to:It allows you to set currency
   auto detection for frontend users based on their country.Also allow the admin
   can turn on option that allows frontend users to checkout in different countries
   at the checkout.Please learn more about YayCurrency here:[https://docs.yaycommerce.com/yaycurrency/](https://docs.yaycommerce.com/yaycurrency/)
   Kind regards,Alina
 *  Thread Starter [malim92](https://wordpress.org/support/users/malim92/)
 * (@malim92)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/#post-16357399)
 * thanks for the reply but still not sure if its relevant to the question
 * im wondering if there’s a hook for the plugin where other developers can tap 
   on to check the currency status
 *  Thread Starter [malim92](https://wordpress.org/support/users/malim92/)
 * (@malim92)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/#post-16357607)
 * ok so after reading the documentation i realize that the plugin saves the currency
   choice in the cookie which answers my question.
 *  Plugin Support [mialewp](https://wordpress.org/support/users/mialewp/)
 * (@mialewp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/#post-16357626)
 * Hi there,
   Thanks for reaching out! If you want to get the currency, which was
   chosen by user then you can use **get_woocommerce_currency()** function. If you
   have questions, feel free contact to us.Best regards,Mia

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘currency hook’ is closed to new replies.

 * ![](https://ps.w.org/yaycurrency/assets/icon-256x256.png?rev=3056587)
 * [YayCurrency - WooCommerce Multi-Currency Switcher](https://wordpress.org/plugins/yaycurrency/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yaycurrency/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yaycurrency/)
 * [Active Topics](https://wordpress.org/support/plugin/yaycurrency/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yaycurrency/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yaycurrency/reviews/)

## Tags

 * [currency](https://wordpress.org/support/topic-tag/currency/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 4 replies
 * 3 participants
 * Last reply from: [mialewp](https://wordpress.org/support/users/mialewp/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/currency-hook/#post-16357626)
 * Status: resolved