• Resolved usbswiper

    (@usbswiper)


    Reviewing my logs recently I noticed this:

    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->shop_name() function is deprecated since version 2.0. Replace with $this->shop_name().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->shop_address() function is deprecated since version 2.0. Replace with $this->shop_address().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_header_logo_id() function is deprecated since version 2.0. Replace with $this->get_header_logo_id().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->billing_address() function is deprecated since version 2.0. Replace with $this->billing_address().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->ships_to_different_address() function is deprecated since version 2.0. Replace with $this->ships_to_different_address().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->invoice_date() function is deprecated since version 2.0. Replace with $this->invoice_date().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->order_number() function is deprecated since version 2.0. Replace with $this->order_number().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->order_date() function is deprecated since version 2.0. Replace with $this->order_date().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->payment_method() function is deprecated since version 2.0. Replace with $this->payment_method().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_order_items() function is deprecated since version 2.0. Replace with $this->get_order_items().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_shipping_notes() function is deprecated since version 2.0. Replace with $this->get_shipping_notes().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_woocommerce_totals() function is deprecated since version 2.0. Replace with $this->get_woocommerce_totals().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_footer() function is deprecated since version 2.0. Replace with $this->get_footer().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->get_template_name() function is deprecated since version 2.0. Replace with $this->get_template_name().
    2019-07-01T09:44:32+00:00 WARNING The $wpo_wcpdf->template_styles() function is deprecated since version 2.0. Replace with $this->template_styles().

    I am running the latest version of the plugin, though, so I’m surprised to see this. Any plans to get all of these functions updated accordingly?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    This means your custom template uses the pre-2.0 functions. If you switch to the official Simple template or update your custom template to match the official one, these notices will go away.

Viewing 1 replies (of 1 total)
  • The topic ‘Use of many deprecated functions..??’ is closed to new replies.