Below is the text of the page https://currency-switcher.com/dokan/ stored 2021-06-08 by archive.org.ua. The original page over time could change. View as original html

DOKAN - WOOCS - WooCommerce Currency Switcher

[/] Home FAQ Codex Video Downloads DEMO Support More LABS Pre-sale questions Compatibility Translations Changelog Sitemap Currency Switcher for WordPress Get More Tools WOOCS - WooCommerce Currency Switcher Home DOKAN DOKAN From 28-09-2020 this code added to the Dokan plugin by its author(s) Plugin : https://wedevs.com/dokan/ in functions.php of your current wp theme add next code: add_action('woocommerce_order_status_completed', 'woocs_payment_complete', 1); add_action('woocommerce_payment_complete', 'woocs_payment_complete'); function so_payment_complete($order_id) { if (class_exists('WOOCS')) { global $WOOCS; $WOOCS->recalculate_order($order_id); } } add_filter('wp_head', function() { if (is_page('dashboard')) { if (class_exists('WOOCS')) { global $WOOCS; $WOOCS->reset_currency(); } } }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 add_action ( 'woocommerce_order_status_completed' , 'woocs_payment_complete' , 1 ) ; add_action ( 'woocommerce_payment_complete' , 'woocs_payment_complete' ) ; function so_payment_complete ( $ order_id ) { if ( class_exists ( 'WOOCS' ) ) { global $ WOOCS ; $ WOOCS - > recalculate_order ( $ order_id ) ; } } add_filter ( 'wp_head' , function ( ) { if ( is_page ( 'dashboard' ) ) { if ( class_exists ( 'WOOCS' ) ) { global $ WOOCS ; $ WOOCS - > reset_currency ( ) ; } } } ) ; Prev: "WooCommerce Points and Rewards (by WooCommerce)" Next: "Wholesale Suite" Search FAQ Codex Video Tutorials Hints Information Get Compatibility Get WOOCS on: Questions? Get Answers! ADV Our team specializes in development of WordPress and WooCommerce plugins. Information About us Contact Us Changelog Sitemap Privacy Policy Help Downloads FAQ Support News You may be interested in: © 2012 - 2021 with by PluginUs.NET . All rights reserved. English Français Deutsch Español Русский