Use this action-hook to make any data of your site currency switch-able.
Example:
1 | $value = apply_filters('woocs_exchange_value', $value); |
$value - is any decimal data which keeps in any meta field for example as amount in basic currency
Look this example pleaseIf you want to make switch-able any part of your content (text) in text editor, use this shortcode.
