When a unit is set to free within a course, I would like to change the text in the label which shows next to the unit title in the Curriculum from "Free" to "Preview". Is there a filter or other method available to change this text?
I am using Modern theme, v1.2
As of now the easiest way is via translation files using codestyling localization plugin.
Refer this tip for more information :
https://wplms.io/support/knowledge-base/translate-using-codestyling-localization-plugin/
After changing the label, you can deactivate the plugin.
Thanks for the tip, however, the CodeStyling Localization plugin appears to been withdrawn from the WordPress plugins repository. Is there another method you can recommend?
You can find the code styling plugin at the bottom of the link we referred you .
Please use the code styling alongwith the preserver coz it works accurately woth the text domains of both plugins and theme .
Ok, I will try this. Thanks.