Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is developing a function and needs a list of all active currencies set up on their site but cannot find a filter to retrieve this information.
Solution:
First, we recommend checking our list of WCML hooks to find the appropriate hook for retrieving active currencies. You can find the documentation here: WCML Hooks Reference.
Additionally, if you're experiencing issues or need further clarification, please provide the debug information of your site. You can find the steps to do this here: Provide Debug Information.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket or visit our support forum at WPML Support Forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Carlos Rojas 2 years, 10 months ago.

Assisted by: Carlos Rojas.

Author Posts
April 29, 2022 at 9:44 am #11121099

nilsF-4

Cant find a way to get all currencies

April 30, 2022 at 5:51 pm #11127005

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- I'm truly sorry but I don't understand the issue 🙁

Can you please elaborate a little more so I can better understand?

2.- Please provide the debug information of the site. In this link, you will find the steps to follow: https://wpml.org/faq/provide-debug-information-faster-support/

Regards,
Carlos

May 2, 2022 at 11:47 am #11132829

nilsF-4

I am building a function and need a list of all active currencies on the site but I can't find a filter to retrive all the currencies that I've set up on the site.

May 2, 2022 at 5:06 pm #11134987

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for your message.

Have you looked in our list of WCML hooks: https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

Regards,
Carlos