This isn't a bug. But I can't find any information how to do what I need to do. If you're able to at least point me in the right direction, it would be hugely appreciated.
I'm trying to list all LearnDash Courses that a User is enrolled in (has purchased through Woocommerce) on the User's account dashboard, regardless of language. Rather than the current behaviour, where EN Courses are listed when viewing the dashboard in EN and FR Courses in FR. I think this dashboard might be the Woocommerce my account, rather than created by LearnDash. I'm not totally sure, as I didn't set up the site, but I'm now responsible for maintaining it.
I've attached screenshots of the current behaviour. The desired behaviour would be all three Courses listed on the Dashboard when viewed in both FR and EN.
I can't find any relevant documentation to follow.
Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps. By default, WPML does not have the optioin to display posts (or in your case, courses) in all languages. It is intended to show English courses on the English page and French courses on the French page. I'm not sure if LearnDash has an option to overwrite this, but it is possible you can accomplish what you are trying with custom code. You can try searching the WPML forum to see if other users have shared a custom code solution, or you can browse our available API hooks: https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
If you need further assistance, you can also hire a 3rd party certified WPML developer, please see https://wpml.org/contractors/.
Thank you very much for pointing me in the direction of the API Hooks documentation, that may be what I need to use.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.