baselbers / woocommerce-pdf-invoices

Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
http://wcpdfinvoices.com
GNU General Public License v3.0
73 stars 40 forks source link

Fix devprecated function WC_Order::get_order_currency #242

Closed anhducbkhn closed 6 years ago

anhducbkhn commented 6 years ago

Replace WC_Order::get_order_currency by WC_Order::get_currency WC_Order::get_order_currency deprecated since WC 3.0.0 https://docs.woocommerce.com/wp-content/images/wc-apidocs/source-class-WC_Abstract_Legacy_Order.html#740