I have finally found a solution https://hotexamples.com/examples/-/WC_Order/set_currency/php-wc_order-set_currency-method-examples.html
$order->set_currency('HRK');
Related Posts:
- How to access page variable inside action hook
- Put data in my-account/view-order/id/ page
- add_action(), add_filter() before or after function
- How many filter/action hooks are healthy?
- Earliest hook to reliably get $post/$posts
- How to pass/get data to/from the WooCommerce data-product_variations object?
- What does (10, 2) mean when used with add_filter
- Valid characters for actions, hooks and filters
- How to check if a hook is hooked or not?
- Display WooCommerce newest product reviews on top [closed]
- How to make post and comment count unclickable with dashboard_glance_items hook
- Hook into admin post list page
- How do I know if author field was changed on post save?
- About Hooks and Filters
- Add Dropdown menu using “add_filter => wp_nav_menu_items”
- Should I use add_action(‘publish_post or add_filter(‘publish_post?
- Too many actions/filters!
- Apply a filter only once
- How to get list of all hooks of current theme / plugin?
- Making a class available via actions filters
- Anonymous function is executed twice in wp_head while added from the_posts filter?
- Woocommerce – Hide a Column in Cart Table
- Filter list by a unique meta value dilemma
- Is there a Woocommerce hook that fires when applying a coupon but before checking if it’s valid?
- What is the action hook for an order that fails on frontend checkout in WooCommerce?
- return values from hooks do_action and apply_filters, which is better
- How to get all the predefined do_action() calls from an active theme
- Is it possible to track down Actions and Filters?
- Return a custom value in a function added to an action hook
- Same Conditionals Not Working on Two Different Hooks
- add filter login_redirect does not contain original requested redirect
- get_header and hook avoid normal call
- Can the wp_filter object hold multiple values with the same key
- apply_filters/do_action tag characters limit
- Is there a filter called ‘network_admin_init’?
- How to add ‘total’ value to custom column title on the posts list page
- Filter taxonomy admin pagination
- When to use add_action when registering/enqueuing scripts
- Are there actions or filters I can use for Ajax calls?
- Correct method of redirecting user login
- How to remove action with slashes and arrows?
- How to check current user before all actions and filters?
- How do I use remove_action on an add_action that uses an array?
- Adaptive product filters for WooCommerce
- Add default user field to WooCommerce checkout [closed]
- Changing WordPress core without hacking core
- Link to Shop-Filter with .current-menu-item
- Adding a Clone link to product attributes – post_row_actions() filter, or how to override a Class question
- Comment search plugin
- Proper after_setup_theme and wp_head cleanup
- Woocommerce “added to cart” message on main(home) page
- Replacing a deprecated filter ‘woocommerce_get_price’ with ‘woocommerce_product_get_price’
- Add a filter inside an action init
- Is it possible to apply_filter on a wp_ajax_ action?
- Filter for when the post is updated
- How can I specify the post status of an untrashed post?
- Filter get_page_by_path()
- Remove actions/filters that are set with create_function()
- Filter WooCommerce archive pages by an additional category
- Sorting products by price ( regular + sale price )
- Add/remove CRON action depending on variable
- Redirect to woocommerce checkout after adding to cart – item already in cart
- WooCommerce coupon hook argument NULL when using filter woocommerce_get_shop_coupon_data
- Use has_filter on comment_post
- Echo string in admin panel footer beside version no
- How to change default text for specific post type
- How can I edit comment meta value before it is saved?
- Disable sanitize_file_name on upload without modifying functions.php
- Redirect after post deleted
- Plugin default settings hook
- alternative to the_content filter
- Display custom product option in admin order details
- How to pass a variable between filter/action functions?
- style_loader_tag not changing stylesheet to preload
- Adding link options in insert/edit link dialog window
- How to redirect a unique link based on login status
- Hook to change the site URL
- Combine one action and one filter
- How to change lost password email text using custom plugin wordpress?
- how to use apply filter for Class?
- How can I see exactly what arguments are being passed through a filter so that I may modify them?
- WordPress set featured image to first image of the post
- adding an action inside if condition not working
- Using add_filters() , apply_filter(), add_action() and do_action() in extending a plugin
- WordPress Reset password Strength set to medium
- Help needed with woocommerce (wc stripe) filter
- What action/filter can be used for modifying the page to be rendered?
- Hook inside a hook
- check, if any “add_action” function contains string XXXXXXXXX
- Modify WooCommerce email shipping text value
- Hook into ‘when user logs in’ [persistent login]
- Custom registration field to SQL database
- Updating User Profile on Registration
- Is this correct usage of filters in WordPress [closed]
- How would I remove an inline googleAPI font script in the the parent theme header.php?
- can’t output gray scaled image I’ve created using add_image_size
- How to add custom checkout field in user details mail template
- WooCommerce comments_template Filter Not Firing
- Can you call a filter hook by “add_action”?
- Reposition variation stock message