Skip to content

Global conversion variables

David Artiss edited this page Nov 12, 2017 · 1 revision

For the use of developers, 2 global variables have been added which, if assigned within your site code, will override the conversion codes.

The variables are global_convert_from and global_convert_to.

This is useful if, say, you have multiple versions of the site in different languages - you can then assign these global variables depending on which site is being viewed and all currency will be converted based upon these settings.

These will only override the options screen and not specific parameters specified with a shortcode or function call.

Clone this wiki locally