Skip to content

Updating deprecated functions in WooCommerce v3#189

Merged
mayurkathale merged 1 commit intomasterfrom
deprected-function
Sep 15, 2020
Merged

Updating deprecated functions in WooCommerce v3#189
mayurkathale merged 1 commit intomasterfrom
deprected-function

Conversation

@mayurkathale
Copy link
Copy Markdown
Contributor

1. Objective

This PR is to remove deprecated functions in WooCommerce Version 3 and up.

image

Related information:
Internal Ticket: https://phabricator.omise.co/T23019

2. Description of change

Replaced deprecate function WC_Order::get_order_currency with WC_Order::get_currency in all plugin files.

3. Quality assurance

🔧 Environments:

  • WooCommerce: v4.4.1
  • WordPress: v5.5.1
  • PHP version: 7.4.1
  • Omise plugin version: Omise-WooCommerce 4.1

4. Impact of the change

All payment methods should work normally.

5. Priority of change

Normal

6. Additional Notes

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants